commit | 73954df6455e9f0b36338c04145904e1dab3d3e3 | [log] [tgz] |
---|---|---|
author | Sunny Goyal <sunnygoyal@google.com> | Mon May 14 11:23:51 2018 -0700 |
committer | Sunny Goyal <sunnygoyal@google.com> | Mon May 14 11:25:24 2018 -0700 |
tree | 17f08a07d000603938603d218f985193ac6ddaaa | |
parent | 99dcc9fd8317447c55866e571057160477a7a283 [diff] |
Ensure that animaiton.end() is properly dispatched When window animation is cancelled, we skip running the animation. But since we initialize the UI before the animation started, the UI is never reset. Bug: 79657221 Change-Id: Ic420d1d99f5242541e6809f3207355ea9876ca9c
diff --git a/quickstep/src/com/android/launcher3/LauncherAnimationRunner.java b/quickstep/src/com/android/launcher3/LauncherAnimationRunner.java index 29399142..e346310 100644 --- a/quickstep/src/com/android/launcher3/LauncherAnimationRunner.java +++ b/quickstep/src/com/android/launcher3/LauncherAnimationRunner.java
@@ -118,6 +118,7 @@ finish(); } else if (mFinished) { // Animation callback was already finished, skip the animation. + mAnimator.start(); mAnimator.end(); } else { // Start the animation