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

Commit 1af6be57 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Disable battery defender to avoid locking during the test" into ub-launcher3-master

parents 7d3a113d 1b4247d9
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -220,6 +220,7 @@ public abstract class AbstractLauncherUiTest {

    @Before
    public void setUp() throws Exception {
        mDevice.executeShellCommand("setprop vendor.battery.defender.disable 1");
        mDevice.executeShellCommand("settings put global stay_on_while_plugged_in 3");
        if (hasSystemUiObject("keyguard_status_view")) {
            Log.d(TAG, "Before unlocking the phone");