commit | 8765e262c2c5919fa2e82d23cdf3504683106db1 | [log] [tgz] |
---|---|---|
author | Tony Wickham <twickham@google.com> | Fri May 31 17:46:03 2019 +0000 |
committer | Android (Google) Code Review <android-gerrit@google.com> | Fri May 31 17:46:03 2019 +0000 |
tree | 9ddb65e8689ea8b731929ea010dcb902107641d9 | |
parent | 33838e8a2f5183f281910ac639f2ef43d23d0042 [diff] | |
parent | 436d5971b1b84e491f8e15ee9bbd8c2253e5f637 [diff] |
Merge "Don't recreate the launcher animation controller if gesture ended" into ub-launcher3-qt-dev
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); }