Merge "Making "Battery Saver" use MasterSwitchPreference."

This commit is contained in:
TreeHugger Robot
2017-01-25 19:31:28 +00:00
committed by Android (Google) Code Review
5 changed files with 273 additions and 80 deletions

View File

@@ -153,6 +153,7 @@ public class PowerUsageSummary extends PowerUsageBase {
final List<PreferenceController> controllers = new ArrayList<>();
controllers.add(new AutoBrightnessPreferenceController(context));
controllers.add(new TimeoutPreferenceController(context));
controllers.add(new BatterySaverController(context, getLifecycle()));
return controllers;
}