Switching from mDevice.pressHome() to mLauncher.pressHome()

Using mDevice.pressHome() was a workaround for the shifted-search bug.

Change-Id: I740db2109af531c55f8ab59a42998bdc329fb72e
Tests: affected tests
This commit is contained in:
vadimt committed 2019-01-11 17:32:05 -08:00
1 parent ff9571b30f
commit 579c8c200d
3 files changed
+4 -6

No files matched your search

@@ -123,7 +123,7 @@ public abstract class AbstractLauncherUiTest {
public void evaluate() throws Throwable {
try {
// Create launcher activity if necessary and bring it to the front.
mDevice.pressHome();
mLauncher.pressHome();
waitForLauncherCondition("Launcher activity wasn't created",
launcher -> launcher != null);