Hide apps in the battery menu that have COMPONENT_ENABLED_STATE_DISABLED_UNTIL_USED
Once they are enabled for the first time, they'll show up indefinitely. b/22667081 Change-Id: Ia28de99d7d638d54c15fac2e08edeb70a9657e23
This commit is contained in:
@@ -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() {
|
||||
}
|
||||
|
Reference in New Issue
Block a user