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
This commit is contained in:
parent
99dcc9fd83
commit
73954df645
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue