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

am: 2658122cea

Change-Id: Ic999b909f9dce05688c6ade6a78e8886f80bb2ee
This commit is contained in:
Vadim Tryshev authored and android-build-merger committed 2019-06-21 14:53:07 -07:00
commit 653ffb2293
1 file changed
+2
@@ -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();
}
};
}