Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 97b51636 authored by wesleycwwang's avatar wesleycwwang Committed by Wesley Wang
Browse files

Add dock charging state into stay awake feature (1/2)

Bug: 233704731
Test: make RunSettingsRoboTests
Change-Id: I48e5279f24f7252c6bf7433a598df796942ed756
parent 25686219
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -50,7 +50,7 @@ public class StayAwakePreferenceController extends DeveloperOptionsPreferenceCon
    @VisibleForTesting
    static final int SETTING_VALUE_ON =
            BatteryManager.BATTERY_PLUGGED_AC | BatteryManager.BATTERY_PLUGGED_USB
                    | BatteryManager.BATTERY_PLUGGED_WIRELESS;
                    | BatteryManager.BATTERY_PLUGGED_WIRELESS | BatteryManager.BATTERY_PLUGGED_DOCK;
    @VisibleForTesting
    SettingsObserver mSettingsObserver;