Revamp the battery detail page for each app
1. Move preferences to new postion 2. Change background activity pref from SwitchPreference to Preference and update the controller Bug: 72227981 Test: RunSettingsRoboTests Change-Id: Ib18ac7523c24d19754c37ab8ac527095d9ced49c
This commit is contained in:
@@ -374,7 +374,7 @@ public class AdvancedPowerUsageDetail extends DashboardFragment implements
|
||||
|
||||
@Override
|
||||
public void onLimitBackgroundActivity() {
|
||||
mBackgroundActivityPreferenceController.setUnchecked(
|
||||
mBackgroundActivityPreferenceController.setRestricted(
|
||||
findPreference(mBackgroundActivityPreferenceController.getPreferenceKey()));
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user