Merge "Don't recreate the launcher animation controller if gesture ended" into ub-launcher3-qt-dev

This commit is contained in:
Tony Wickham
2019-05-31 17:46:03 +00:00
committed by Android (Google) Code Review
@@ -647,6 +647,9 @@ public class WindowTransformSwipeHandler<T extends BaseDraggingActivity>
}
private void buildAnimationController() {
if (mStateCallback.hasStates(STATE_GESTURE_COMPLETED)) {
return;
}
initTransitionEndpoints(mActivity.getDeviceProfile());
mAnimationFactory.createActivityController(mTransitionDragLength);
}