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

Commit 60379ac0 authored by David Saff's avatar David Saff Committed by Android (Google) Code Review
Browse files

Merge "Assert keyguard gone at beginning and end of PortraitLandscapeRunner" into main

parents bb28770a 1121f8b5
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -44,7 +44,9 @@ public class PortraitLandscapeRunner implements TestRule {
            @Override
            public void evaluate() throws Throwable {
                try {
                    // we expect to begin unlocked...
                    AbstractLauncherUiTest.verifyKeyguardInvisible();

                    mTest.mDevice.pressHome();
                    mTest.waitForLauncherCondition("Launcher activity wasn't created",
                            launcher -> launcher != null);
@@ -67,6 +69,9 @@ public class PortraitLandscapeRunner implements TestRule {
                        }
                    });
                    mTest.mLauncher.setExpectedRotation(Surface.ROTATION_0);

                    // and end unlocked...
                    AbstractLauncherUiTest.verifyKeyguardInvisible();
                }
            }