Simplifying switching to home for some tests

Change-Id: I696d0267a2c36a18080396657bed07f7b1654a7d
This commit is contained in:
vadimt
2019-07-12 12:26:08 -07:00
parent 59b5b3f2a2
commit d91cec72fe
8 changed files with 16 additions and 32 deletions

View File

@@ -267,7 +267,7 @@ public class BindWidgetTest extends AbstractLauncherUiTest {
resetLoaderState();
// Launch the home activity
mActivityMonitor.startLauncher();
mDevice.pressHome();
waitForModelLoaded();
}