Merge "Adding logging pressHome()" into ub-launcher3-master
This commit is contained in:
commit
9a9e43461f
|
@ -225,7 +225,10 @@ public final class LauncherInstrumentation {
|
|||
// otherwise waitForIdle may return immediately in case when there was a big enough pause in
|
||||
// accessibility events prior to pressing Home.
|
||||
executeAndWaitForEvent(
|
||||
() -> getSystemUiObject("home").click(),
|
||||
() -> {
|
||||
log("LauncherInstrumentation.pressHome before clicking");
|
||||
getSystemUiObject("home").click();
|
||||
},
|
||||
event -> true,
|
||||
"Pressing Home didn't produce any events");
|
||||
mDevice.waitForIdle();
|
||||
|
|
Loading…
Reference in New Issue