Merge "Change range of battery saver schedule seekbar" into main
This commit is contained in:
@@ -49,7 +49,7 @@ public class BatterySaverScheduleSeekBarController
|
||||
implements OnPreferenceChangeListener, OnSeekBarChangeListener {
|
||||
|
||||
public static final int MAX_SEEKBAR_VALUE = 15;
|
||||
public static final int MIN_SEEKBAR_VALUE = 2;
|
||||
public static final int MIN_SEEKBAR_VALUE = 4;
|
||||
public static final String KEY_BATTERY_SAVER_SEEK_BAR = "battery_saver_seek_bar";
|
||||
private static final int LEVEL_UNIT_SCALE = 5;
|
||||
|
||||
|
@@ -95,7 +95,7 @@ public class BatterySaverScheduleSeekBarControllerTest {
|
||||
|
||||
@Test
|
||||
public void updateSeekBar_percentageMode_hasCorrectProperties() {
|
||||
final CharSequence expectedTitle = "10%";
|
||||
final CharSequence expectedTitle = "20%";
|
||||
Settings.Global.putInt(
|
||||
mResolver,
|
||||
Global.AUTOMATIC_POWER_SAVE_MODE,
|
||||
|
Reference in New Issue
Block a user