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

Commit f06308d9 authored by Wei Sheng Shih's avatar Wei Sheng Shih Committed by Android (Google) Code Review
Browse files

Merge "Reset mAnimatingExit flag while relayout visible window." into main

parents b72b580a daff5ea4
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -4935,11 +4935,11 @@ class WindowState extends WindowContainer<WindowState> implements WindowManagerP
            Slog.d(TAG, "relayoutVisibleWindow: " + this + " mAnimatingExit=true, mRemoveOnExit="
                    + mRemoveOnExit + ", mDestroying=" + mDestroying);

            mAnimatingExit = false;
            // Cancel the existing exit animation for the next enter animation.
            if (isAnimating()) {
                cancelAnimation();
            }
            mAnimatingExit = false;
            ProtoLog.d(WM_DEBUG_ANIM, "Clear animatingExit: reason=relayoutVisibleWindow win=%s",
                    this);
        }