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

Commit 234fc603 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
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
parents a9a0dd7f 8be50400
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);
            }
        }
    }