Pull down should work on search box, even if all apps scroll is not at top.

b/30295305

Change-Id: I38bbe47d6e33929c550930c9f157c58fbea203ef
This commit is contained in:
Hyunyoung Song
2016-08-05 13:57:21 -07:00
parent 598e184352
commit 58a9c4b7d2
3 changed files with 12 additions and 6 deletions

View File

@@ -111,7 +111,7 @@ public class AllAppsTransitionController implements TouchController, VerticalPul
if (mLauncher.getWorkspace().isInOverviewMode() || mLauncher.isWidgetsViewVisible()) {
mNoIntercept = true;
} else if (mLauncher.isAllAppsVisible() &&
!mAppsView.shouldContainerScroll(ev.getX(), ev.getY())) {
!mAppsView.shouldContainerScroll(ev)) {
mNoIntercept = true;
} else if (!mLauncher.isAllAppsVisible() && !shouldPossiblyIntercept(ev)) {
mNoIntercept = true;