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

Commit a3c0a082 authored by vadimt's avatar vadimt
Browse files

Temporarily using magic constant to avoid closing all apps by scrolling

Change-Id: Ic99c8ad85525e37563b3f1debb125073055ac2f0
parent 7e39a5fe
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -69,6 +69,8 @@ public class AllApps extends LauncherInstrumentation.VisibleContainer {
            if (mLauncher.getNavigationModel() != ZERO_BUTTON) {
                final UiObject2 navBar = mLauncher.waitForSystemUiObject("navigation_bar_frame");
                allAppsContainer.setGestureMargins(0, 0, 0, navBar.getVisibleBounds().height() + 1);
            } else {
                allAppsContainer.setGestureMargins(0, 0, 0, 100);
            }
            final BySelector appIconSelector = AppIcon.getAppIconSelector(appName, mLauncher);
            if (!hasClickableIcon(allAppsContainer, appIconSelector)) {