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();
|
finish();
|
||||||
} else if (mFinished) {
|
} else if (mFinished) {
|
||||||
// Animation callback was already finished, skip the animation.
|
// Animation callback was already finished, skip the animation.
|
||||||
|
mAnimator.start();
|
||||||
mAnimator.end();
|
mAnimator.end();
|
||||||
} else {
|
} else {
|
||||||
// Start the animation
|
// Start the animation
|
||||||
|
|
Loading…
Reference in New Issue