Merge "Fix BatterySaverScheduleRadioButtonsControllerTest" into main am: f233e50766
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3313119 Change-Id: I520953f9b2c6e5307fb87aa3eba09e7264851a08 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -53,6 +53,8 @@ public class BatterySaverScheduleRadioButtonsControllerTest {
|
||||
public void setDefaultKey_percentage_shouldSuppressNotification() {
|
||||
Secure.putInt(
|
||||
mContext.getContentResolver(), Secure.LOW_POWER_WARNING_ACKNOWLEDGED, 1);
|
||||
Secure.putInt(
|
||||
mContext.getContentResolver(), Secure.EXTRA_LOW_POWER_WARNING_ACKNOWLEDGED, 1);
|
||||
Settings.Global.putInt(mResolver, Global.AUTOMATIC_POWER_SAVE_MODE,
|
||||
PowerManager.POWER_SAVE_MODE_TRIGGER_PERCENTAGE);
|
||||
Settings.Global.putInt(mResolver, Global.LOW_POWER_MODE_TRIGGER_LEVEL, 5);
|
||||
|
Reference in New Issue
Block a user