Add toggle in menu to show/hide hidden apps
In the previous cl we hide unrelated apps and distribute hidden battery usage among other apps. Now we add a toggle in menu to show old power accounting as well. Bug: 35366708 Test: RunSettingsRoboTests Change-Id: I6918b7095cf84d9756ad3972ff50a62aeae1de0e
This commit is contained in:
@@ -43,4 +43,9 @@ public class PowerUsageFeatureProviderImpl implements PowerUsageFeatureProvider
|
||||
public boolean isTypeService(String[] packages) {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isPowerAccountingToggleEnabled() {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user