Merge "Don't recreate the launcher animation controller if gesture ended" into ub-launcher3-qt-dev
This commit is contained in:
+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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user