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

Commit 43c3d2d4 authored by vadimt's avatar vadimt
Browse files

Diagnosing anomalies prior to swiping up to Home

Bug: 141864547
Change-Id: I5f3814c6a90df85136484813ca4ee684da101016
parent c49ec381
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -543,6 +543,9 @@ public final class LauncherInstrumentation {
        // accessibility events prior to pressing Home.
        final String action;
        if (getNavigationModel() == NavigationModel.ZERO_BUTTON) {
            final String anomaly = getAnomalyMessage();
            if (anomaly != null) fail("Can't swipe up to Home: " + anomaly);

            final Point displaySize = getRealDisplaySize();

            if (hasLauncherObject("deep_shortcuts_container")) {