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

Commit bdb1c406 authored by Craig Mautner's avatar Craig Mautner Committed by Android (Google) Code Review
Browse files

Merge "Don't start a dimming operation when hiding."

parents 3a220884 35af2fff
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -8172,7 +8172,8 @@ public class WindowManagerService extends IWindowManager.Stub
            // so we want to leave all of them as undimmed (for
            // performance reasons).
            mInnerFields.mObscured = true;
        } else if (canBeSeen && (attrFlags & FLAG_DIM_BEHIND) != 0) {
        } else if (canBeSeen && (attrFlags & FLAG_DIM_BEHIND) != 0
                && !(w.mAppToken != null && w.mAppToken.hiddenRequested)) {
            if (localLOGV) Slog.v(TAG, "Win " + w + " obscured=" + mInnerFields.mObscured);
            if (!mInnerFields.mDimming) {
                //Slog.i(TAG, "DIM BEHIND: " + w);