at com.baseband.client.feature.FeatureManager.get(FeatureManager.java:86) at com.baseband.client.feature.FeatureManager.<init>(FeatureManager.java:93)
This commit is contained in:
parent
1ac147fabe
commit
36613e0c1f
2 changed files with 3 additions and 5 deletions
|
@ -60,7 +60,7 @@ public class BaseBand {
|
||||||
lock.waitHere();
|
lock.waitHere();
|
||||||
}
|
}
|
||||||
|
|
||||||
for (Feature feature : FeatureManager.get().filteredFeatures) {
|
for (Feature feature : FeatureManager.get().Features) {
|
||||||
feature.setEnabledSilent(false);
|
feature.setEnabledSilent(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -87,12 +87,10 @@ public class FeatureManager {
|
||||||
return INSTANCE;
|
return INSTANCE;
|
||||||
}
|
}
|
||||||
|
|
||||||
public ArrayList<Feature> filteredFeatures;
|
|
||||||
|
|
||||||
private FeatureManager() {
|
private FeatureManager() {
|
||||||
FeatureManager clientFeatureManager = FeatureManager.get();
|
ArrayList<Feature> filteredFeatures = new ArrayList<>(Arrays.asList(Features));
|
||||||
|
|
||||||
filteredFeatures = new ArrayList<>(Arrays.asList(clientFeatureManager.Features));
|
|
||||||
for (int i = 0; i < filteredFeatures.size(); i++) {
|
for (int i = 0; i < filteredFeatures.size(); i++) {
|
||||||
Feature value = filteredFeatures.get(i);
|
Feature value = filteredFeatures.get(i);
|
||||||
if(!value.canExist()) {
|
if(!value.canExist()) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue