commit | 82e8b32f994c2ba0988d338702b380583e649cd8 | [log] [tgz] |
---|---|---|
author | Tony Wickham <twickham@google.com> | Fri May 31 11:00:56 2019 -0700 |
committer | android-build-merger <android-build-merger@google.com> | Fri May 31 11:00:56 2019 -0700 |
tree | 1bcbe8c7742299bd08b57a31bcc711c12a929ec9 | |
parent | 8fada8c6d7b70bf566bd937826e825e1df0b50c4 [diff] | |
parent | ab384404b1ca257d38a73cb629e34fd219a66707 [diff] |
Merge "Don't recreate the launcher animation controller if gesture ended" into ub-launcher3-qt-dev am: 8765e262c2 am: ab384404b1 Change-Id: I8abe9febf5734e16c0506fc37ea6f9890d7aa454
diff --git a/quickstep/recents_ui_overrides/src/com/android/quickstep/WindowTransformSwipeHandler.java b/quickstep/recents_ui_overrides/src/com/android/quickstep/WindowTransformSwipeHandler.java index cc4a1e0..c7aaa9b 100644 --- a/quickstep/recents_ui_overrides/src/com/android/quickstep/WindowTransformSwipeHandler.java +++ b/quickstep/recents_ui_overrides/src/com/android/quickstep/WindowTransformSwipeHandler.java
@@ -647,6 +647,9 @@ } private void buildAnimationController() { + if (mStateCallback.hasStates(STATE_GESTURE_COMPLETED)) { + return; + } initTransitionEndpoints(mActivity.getDeviceProfile()); mAnimationFactory.createActivityController(mTransitionDragLength); }