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

This commit is contained in:
Tony Wickham authored and Android (Google) Code Review committed 2019-05-31 17:46:03 +00:00
commit 8765e262c2
1 file changed
+3
@@ -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);
}