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

Commit e7236345 authored by Vadim Tryshev's avatar Vadim Tryshev Committed by Android (Google) Code Review
Browse files

Merge "Workaround for b/135766310" into ub-launcher3-qt-dev

parents 66ed415f 1ce21388
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();
            }
        };
    }