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

Commit c502421b authored by David Lin's avatar David Lin Committed by Android (Google) Code Review
Browse files

Merge "Reset mAnimatingExit flag while relayout visible window." into 24D1-dev

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


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