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
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user