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

am: 033f4ea716

* commit '033f4ea716e295b34c58d4c59c891e45805c2f0d':
  Guard all apps pull up work behind the flag

Change-Id: Id2e20c3ca403d5e2e23a23289d4d08a4c64e03ba
This commit is contained in:
Hyunyoung Song
2016-06-07 04:24:27 +00:00
committed by android-build-merger
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;
}