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

Commit 236a35b7 authored by Craig Mautner's avatar Craig Mautner
Browse files

Turn off dimming immediately for removed windows.

Dimming was only turning off immediately for app-animated windows.
For removed windows dimming wouldn't turn off until the window was
completely gone.

Fixes bug 6628057.

Change-Id: I3ba6501b10a31b6f8c91012e17ad8734a84050c4
parent a9144ffd
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -8403,7 +8403,8 @@ public class WindowManagerService extends IWindowManager.Stub
            // performance reasons).
            mInnerFields.mObscured = true;
        } else if (canBeSeen && (attrFlags & FLAG_DIM_BEHIND) != 0
                && !(w.mAppToken != null && w.mAppToken.hiddenRequested)) {
                && !(w.mAppToken != null && w.mAppToken.hiddenRequested)
                && !w.mExiting) {
            if (localLOGV) Slog.v(TAG, "Win " + w + " obscured=" + mInnerFields.mObscured);
            if (!mInnerFields.mDimming) {
                //Slog.i(TAG, "DIM BEHIND: " + w);