Merge "Fix sticky battery saver toggle"
This commit is contained in:
committed by
Android (Google) Code Review
commit
cee1ddc5ac
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user