Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9a9e4346 authored by Vadim Tryshev's avatar Vadim Tryshev Committed by Android (Google) Code Review
Browse files

Merge "Adding logging pressHome()" into ub-launcher3-master

parents a2e095c9 66408d90
Loading
Loading
Loading
Loading
+4 −1
Original line number Original line Diff line number Diff line
@@ -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();