Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d6692ced authored by Sunny Goyal's avatar Sunny Goyal
Browse files

Revert "Set mState = mCurrentStableState in onAnimationCancel"

This reverts commit 8935d951.

Reason for revert:
Bug: 109814458
Bug: 79935289

Change-Id: I33e4933a68060b6055ad7af8e45cffceec14880d
parent 8935d951
Loading
Loading
Loading
Loading
+1 −6
Original line number Diff line number Diff line
@@ -347,12 +347,6 @@ public class LauncherStateManager {
                }
            }

            @Override
            public void onAnimationCancel(Animator animation) {
                super.onAnimationCancel(animation);
                mState = mCurrentStableState;
            }

            @Override
            public void onAnimationSuccess(Animator animator) {
                // Run any queued runnables
@@ -438,6 +432,7 @@ public class LauncherStateManager {
    }

    public void setCurrentUserControlledAnimation(AnimatorPlaybackController controller) {
        clearCurrentAnimation();
        setCurrentAnimation(controller.getTarget());
        mConfig.userControlled = true;
        mConfig.playbackController = controller;