Merge "Fix sticky battery saver toggle"

This commit is contained in:
TreeHugger Robot
2019-03-20 04:20:21 +00:00
committed by Android (Google) Code Review
2 changed files with 3 additions and 3 deletions

View File

@@ -42,7 +42,7 @@ public class BatterySaverStickyPreferenceControllerTest {
}
private int getAutoDisableSetting() {
return Settings.System.getInt(mContext.getContentResolver(),
return Settings.Global.getInt(mContext.getContentResolver(),
LOW_POWER_STICKY_AUTO_DISABLE_ENABLED,
1);
}