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

Commit bb117d7b authored by Sunny Goyal's avatar Sunny Goyal Committed by android-build-merger
Browse files

Merge "Fixing onStateTransitionEnd is not called at the end of reset state"...

Merge "Fixing onStateTransitionEnd is not called at the end of reset state" into ub-launcher3-qt-dev
am: 234fc603

Change-Id: I4f5a9e0ba1b4a31478e54bb6cce5884e017bd99c
parents 60437739 234fc603
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -223,6 +223,7 @@ public class LauncherStateManager {
    }

    public void reapplyState(boolean cancelCurrentAnimation) {
        boolean wasInAnimation = mConfig.mCurrentAnimation != null;
        if (cancelCurrentAnimation) {
            cancelAnimation();
        }
@@ -230,6 +231,9 @@ public class LauncherStateManager {
            for (StateHandler handler : getStateHandlers()) {
                handler.setState(mState);
            }
            if (wasInAnimation) {
                onStateTransitionEnd(mState);
            }
        }
    }