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

Commit 7f03f1a2 authored by Jorim Jaggi's avatar Jorim Jaggi Committed by Android (Google) Code Review
Browse files

Merge "Run layout when exiting window" into pi-dev

parents 4c1453ac f41e8826
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -2001,6 +2001,11 @@ class WindowState extends WindowContainer<WindowState> implements WindowManagerP
                    // Try starting an animation.
                    if (mWinAnimator.applyAnimationLocked(transit, false)) {
                        mAnimatingExit = true;

                        // mAnimatingExit affects canAffectSystemUiFlags(). Run layout such that
                        // any change from that is performed immediately.
                        setDisplayLayoutNeeded();
                        mService.requestTraversal();
                    }
                    //TODO (multidisplay): Magnification is supported only for the default display.
                    if (mService.mAccessibilityController != null && displayId == DEFAULT_DISPLAY) {