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

Commit 233afe98 authored by vadimt's avatar vadimt
Browse files

Dump view hierarchy before swiping to home

Bug: 141864547
Change-Id: Ifd444c4516f7f27b0dc19c0faa1d4c8716d2254a
parent c49ec381
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;