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

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

Merge "TAPL: Not starting all apps scroll gestures over nav bar" into ub-launcher3-master

parents 8e8c4606 f78f47dd
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -63,6 +63,8 @@ public class AllApps extends LauncherInstrumentation.VisibleContainer {
        try (LauncherInstrumentation.Closable c = mLauncher.addContextLayer(
                "want to get app icon on all apps")) {
            final UiObject2 allAppsContainer = verifyActiveContainer();
            final UiObject2 navBar = mLauncher.waitForSystemUiObject("navigation_bar_frame");
            allAppsContainer.setGestureMargins(0, 0, 0, navBar.getVisibleBounds().height());
            final BySelector appIconSelector = AppIcon.getAppIconSelector(appName, mLauncher);
            if (!hasClickableIcon(allAppsContainer, appIconSelector)) {
                scrollBackToBeginning();