Merge "Guard all apps pull up work behind the flag" into ub-launcher3-calgary
This commit is contained in:
committed by
Android (Google) Code Review
commit
033f4ea716
@@ -683,7 +683,9 @@ public class LauncherStateTransitionAnimation {
|
|||||||
animated, initialized, animation, revealDuration, layerViews);
|
animated, initialized, animation, revealDuration, layerViews);
|
||||||
}
|
}
|
||||||
if (!animated || !initialized) {
|
if (!animated || !initialized) {
|
||||||
mAllAppsController.finishPullDown();
|
if (!FeatureFlags.LAUNCHER3_ALL_APPS_PULL_UP) {
|
||||||
|
mAllAppsController.finishPullDown();
|
||||||
|
}
|
||||||
fromView.setVisibility(View.GONE);
|
fromView.setVisibility(View.GONE);
|
||||||
dispatchOnLauncherTransitionPrepare(fromView, animated, multiplePagesVisible);
|
dispatchOnLauncherTransitionPrepare(fromView, animated, multiplePagesVisible);
|
||||||
dispatchOnLauncherTransitionStart(fromView, animated, true);
|
dispatchOnLauncherTransitionStart(fromView, animated, true);
|
||||||
|
|||||||
@@ -274,7 +274,7 @@ public class DragLayer extends InsettableFrameLayout {
|
|||||||
mActiveController = mDragController;
|
mActiveController = mDragController;
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
if (mAllAppsController.onInterceptTouchEvent(ev)) {
|
if (FeatureFlags.LAUNCHER3_ALL_APPS_PULL_UP && mAllAppsController.onInterceptTouchEvent(ev)) {
|
||||||
mActiveController = mAllAppsController;
|
mActiveController = mAllAppsController;
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user