Merge "Guard all apps pull up work behind the flag" into ub-launcher3-calgary

This commit is contained in:
TreeHugger Robot
2016-06-07 04:18:24 +00:00
committed by Android (Google) Code Review
2 changed files with 4 additions and 2 deletions
@@ -683,7 +683,9 @@ public class LauncherStateTransitionAnimation {
animated, initialized, animation, revealDuration, layerViews);
}
if (!animated || !initialized) {
mAllAppsController.finishPullDown();
if (!FeatureFlags.LAUNCHER3_ALL_APPS_PULL_UP) {
mAllAppsController.finishPullDown();
}
fromView.setVisibility(View.GONE);
dispatchOnLauncherTransitionPrepare(fromView, animated, multiplePagesVisible);
dispatchOnLauncherTransitionStart(fromView, animated, true);
@@ -274,7 +274,7 @@ public class DragLayer extends InsettableFrameLayout {
mActiveController = mDragController;
return true;
}
if (mAllAppsController.onInterceptTouchEvent(ev)) {
if (FeatureFlags.LAUNCHER3_ALL_APPS_PULL_UP && mAllAppsController.onInterceptTouchEvent(ev)) {
mActiveController = mAllAppsController;
return true;
}