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

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

Merge "Keep starting window on top during remove."

parents 53340bc9 7c00210f
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -2470,6 +2470,11 @@ class WindowState extends WindowContainer<WindowState> implements WindowManagerP
                    if (allowExitAnimation && mWinAnimator.applyAnimationLocked(transit, false)) {
                        ProtoLog.v(WM_DEBUG_ANIM,
                                "Set animatingExit: reason=remove/applyAnimation win=%s", this);
                        if (startingWindow && mSurfaceAnimator.hasLeash()) {
                            // Keep starting window on top during fade-out animation.
                            getPendingTransaction().setLayer(mSurfaceAnimator.mLeash,
                                    Integer.MAX_VALUE);
                        }
                        mAnimatingExit = true;

                        // mAnimatingExit affects canAffectSystemUiFlags(). Run layout such that