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

Commit 3878d3ef authored by vadimt's avatar vadimt Committed by android-build-merger
Browse files

Dump view hierarchy before swiping to home

am: 233afe98

Change-Id: Ib67aa2247ae43f4e875deb07a9d8b53aa5e6f181
parents f078975e 233afe98
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -558,6 +558,8 @@ public final class LauncherInstrumentation {
            if (hasLauncherObject(WORKSPACE_RES_ID)) {
                log(action = "already at home");
            } else {
                log("Hierarchy before swiping up to home");
                dumpViewHierarchy();
                log(action = "swiping up to home from " + getVisibleStateMessage());
                final int finalState = mDevice.hasObject(By.pkg(getLauncherPackageName()))
                        ? NORMAL_STATE_ORDINAL : BACKGROUND_APP_STATE_ORDINAL;