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

Commit 1ce21388 authored by vadimt's avatar vadimt
Browse files

Workaround for b/135766310

Bug: 135766310
Change-Id: I8ef40158d5b7f832be46ee2c2fe98a91a095ee82
parent d11b604e
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -49,12 +49,14 @@ class PortraitLandscapeRunner implements TestRule {
                mTest.mDevice.setOrientationNatural();
                mTest.mLauncher.setExpectedRotation(Surface.ROTATION_0);
                base.evaluate();
                mTest.getDevice().pressHome();
            }

            private void evaluateInLandscape() throws Throwable {
                mTest.mDevice.setOrientationLeft();
                mTest.mLauncher.setExpectedRotation(Surface.ROTATION_90);
                base.evaluate();
                mTest.getDevice().pressHome();
            }
        };
    }