Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ecb19d54 authored by Zach Johnson's avatar Zach Johnson Committed by Android Git Automerger
Browse files

am a425e864: Merge "Hide apps in the battery menu that have...

am a425e864: Merge "Hide apps in the battery menu that have COMPONENT_ENABLED_STATE_DISABLED_UNTIL_USED" into mnc-dev

* commit 'a425e864':
  Hide apps in the battery menu that have COMPONENT_ENABLED_STATE_DISABLED_UNTIL_USED
parents 85bdb773 a425e864
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -56,7 +56,7 @@ public class AppStatePowerBridge extends AppStateBaseBridge {
    }

    public static final AppFilter FILTER_POWER_WHITELISTED = new CompoundFilter(
            ApplicationsState.FILTER_PERSONAL, new AppFilter() {
            ApplicationsState.FILTER_PERSONAL_WITHOUT_DISABLED_UNTIL_USED, new AppFilter() {
        @Override
        public void init() {
        }
+1 −1
Original line number Diff line number Diff line
@@ -154,7 +154,7 @@ public class ManageApplications extends InstrumentedFragment
    public static final AppFilter[] FILTERS = new AppFilter[] {
        new CompoundFilter(AppStatePowerBridge.FILTER_POWER_WHITELISTED,
                ApplicationsState.FILTER_ALL_ENABLED),     // High power whitelist, on
        new CompoundFilter(ApplicationsState.FILTER_PERSONAL,
        new CompoundFilter(ApplicationsState.FILTER_PERSONAL_WITHOUT_DISABLED_UNTIL_USED,
                ApplicationsState.FILTER_ALL_ENABLED),     // All apps label, but personal filter
        ApplicationsState.FILTER_EVERYTHING,  // All apps
        ApplicationsState.FILTER_ALL_ENABLED, // Enabled