mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-20 11:18:21 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user