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();
|
||||
}
|
||||
|
||||
for (Feature feature : FeatureManager.get().filteredFeatures) {
|
||||
for (Feature feature : FeatureManager.get().Features) {
|
||||
feature.setEnabledSilent(false);
|
||||
}
|
||||
|
||||
|
|
|
@ -87,12 +87,10 @@ public class FeatureManager {
|
|||
return INSTANCE;
|
||||
}
|
||||
|
||||
public ArrayList<Feature> filteredFeatures;
|
||||
|
||||
|
||||
private FeatureManager() {
|
||||
FeatureManager clientFeatureManager = FeatureManager.get();
|
||||
|
||||
filteredFeatures = new ArrayList<>(Arrays.asList(clientFeatureManager.Features));
|
||||
ArrayList<Feature> filteredFeatures = new ArrayList<>(Arrays.asList(Features));
|
||||
for (int i = 0; i < filteredFeatures.size(); i++) {
|
||||
Feature value = filteredFeatures.get(i);
|
||||
if(!value.canExist()) {
|
||||
|
|
Loading…
Add table
Reference in a new issue