Loading tests/tapl/com/android/launcher3/tapl/LauncherInstrumentation.java +4 −1 Original line number Original line Diff line number Diff line Loading @@ -225,7 +225,10 @@ public final class LauncherInstrumentation { // otherwise waitForIdle may return immediately in case when there was a big enough pause in // otherwise waitForIdle may return immediately in case when there was a big enough pause in // accessibility events prior to pressing Home. // accessibility events prior to pressing Home. executeAndWaitForEvent( executeAndWaitForEvent( () -> getSystemUiObject("home").click(), () -> { log("LauncherInstrumentation.pressHome before clicking"); getSystemUiObject("home").click(); }, event -> true, event -> true, "Pressing Home didn't produce any events"); "Pressing Home didn't produce any events"); mDevice.waitForIdle(); mDevice.waitForIdle(); Loading Loading
tests/tapl/com/android/launcher3/tapl/LauncherInstrumentation.java +4 −1 Original line number Original line Diff line number Diff line Loading @@ -225,7 +225,10 @@ public final class LauncherInstrumentation { // otherwise waitForIdle may return immediately in case when there was a big enough pause in // otherwise waitForIdle may return immediately in case when there was a big enough pause in // accessibility events prior to pressing Home. // accessibility events prior to pressing Home. executeAndWaitForEvent( executeAndWaitForEvent( () -> getSystemUiObject("home").click(), () -> { log("LauncherInstrumentation.pressHome before clicking"); getSystemUiObject("home").click(); }, event -> true, event -> true, "Pressing Home didn't produce any events"); "Pressing Home didn't produce any events"); mDevice.waitForIdle(); mDevice.waitForIdle(); Loading