Removing pressing home button twice

Bug: 124239413
Change-Id: I8c14c7e939bb4442cc830dcff3ec266ed8ed7186
This commit is contained in:
vadimt 2019-05-06 10:38:08 -07:00
parent 1bdb0f4046
commit 16f2cd6cad
1 changed files with 0 additions and 10 deletions

View File

@ -374,16 +374,6 @@ public final class LauncherInstrumentation {
event -> true,
"Pressing Home didn't produce any events");
mDevice.waitForIdle();
// Temporarily press home twice as the first click sometimes gets ignored (b/124239413)
executeAndWaitForEvent(
() -> {
log("LauncherInstrumentation.pressHome before clicking");
waitForSystemUiObject("home").click();
},
event -> true,
"Pressing Home didn't produce any events");
mDevice.waitForIdle();
}
try (LauncherInstrumentation.Closable c = addContextLayer(
"performed action to switch to Home - " + action)) {