summaryrefslogtreecommitdiffstats
path: root/quickstep
diff options
context:
space:
mode:
authorSunny Goyal <sunnygoyal@google.com>2018-05-14 11:23:51 -0700
committerSunny Goyal <sunnygoyal@google.com>2018-05-14 11:25:24 -0700
commit73954df6455e9f0b36338c04145904e1dab3d3e3 (patch)
tree17f08a07d000603938603d218f985193ac6ddaaa /quickstep
parent99dcc9fd8317447c55866e571057160477a7a283 (diff)
downloadandroid_packages_apps_Trebuchet-73954df6455e9f0b36338c04145904e1dab3d3e3.tar.gz
android_packages_apps_Trebuchet-73954df6455e9f0b36338c04145904e1dab3d3e3.tar.bz2
android_packages_apps_Trebuchet-73954df6455e9f0b36338c04145904e1dab3d3e3.zip
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
Diffstat (limited to 'quickstep')
-rw-r--r--quickstep/src/com/android/launcher3/LauncherAnimationRunner.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/quickstep/src/com/android/launcher3/LauncherAnimationRunner.java b/quickstep/src/com/android/launcher3/LauncherAnimationRunner.java
index 293991425..e34631042 100644
--- a/quickstep/src/com/android/launcher3/LauncherAnimationRunner.java
+++ b/quickstep/src/com/android/launcher3/LauncherAnimationRunner.java
@@ -118,6 +118,7 @@ public abstract class LauncherAnimationRunner implements RemoteAnimationRunnerCo
finish();
} else if (mFinished) {
// Animation callback was already finished, skip the animation.
+ mAnimator.start();
mAnimator.end();
} else {
// Start the animation