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

This commit is contained in:
Vadim Tryshev authored and Android (Google) Code Review committed 2019-06-21 21:33:16 +00:00
commit e72363456e
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();
}
};
}