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

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

Merge "Hide windows immediately after policy visibility anim"

parents 4945d4ed 2e05af24
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -2222,12 +2222,13 @@ class WindowState extends WindowContainer<WindowState> implements WindowManagerP
                        mWinAnimator + ": " + mPolicyVisibilityAfterAnim);
            }
            mPolicyVisibility = mPolicyVisibilityAfterAnim;
            setDisplayLayoutNeeded();
            if (!mPolicyVisibility) {
                mWinAnimator.hide("checkPolicyVisibilityChange");
                if (mService.mCurrentFocus == this) {
                    if (DEBUG_FOCUS_LIGHT) Slog.i(TAG,
                            "setAnimationLocked: setting mFocusMayChange true");
                    mService.mFocusMayChange = true;
                    setDisplayLayoutNeeded();
                }
                // Window is no longer visible -- make sure if we were waiting
                // for it to be displayed before enabling the display, that