Temporarily using magic constant to avoid closing all apps by scrolling
Change-Id: Ic99c8ad85525e37563b3f1debb125073055ac2f0
This commit is contained in:
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user