Loading services/core/java/com/android/server/wm/DisplayContent.java +1 −2 Original line number Diff line number Diff line Loading @@ -1122,8 +1122,7 @@ class DisplayContent extends WindowContainer<DisplayContent.DisplayChildWindowCo for (int i = 0; i < windowCount; i++) { final WindowState window = mWindows.get(i); if (window.mAttrs.type == TYPE_TOAST && window.mOwnerUid == uid && !window.mPermanentlyHidden && !window.mAnimatingExit && !window.mRemoveOnExit) { && !window.mPermanentlyHidden && !window.mWindowRemovalAllowed) { return false; } } Loading services/core/java/com/android/server/wm/WindowState.java +1 −1 Original line number Diff line number Diff line Loading @@ -489,7 +489,7 @@ class WindowState extends WindowContainer<WindowState> implements WindowManagerP * or some other higher level component said so (e.g. activity manager). * TODO: We should either have different booleans for the removal reason or use a bit-field. */ private boolean mWindowRemovalAllowed; boolean mWindowRemovalAllowed; /** * Temp for keeping track of windows that have been removed when Loading Loading
services/core/java/com/android/server/wm/DisplayContent.java +1 −2 Original line number Diff line number Diff line Loading @@ -1122,8 +1122,7 @@ class DisplayContent extends WindowContainer<DisplayContent.DisplayChildWindowCo for (int i = 0; i < windowCount; i++) { final WindowState window = mWindows.get(i); if (window.mAttrs.type == TYPE_TOAST && window.mOwnerUid == uid && !window.mPermanentlyHidden && !window.mAnimatingExit && !window.mRemoveOnExit) { && !window.mPermanentlyHidden && !window.mWindowRemovalAllowed) { return false; } } Loading
services/core/java/com/android/server/wm/WindowState.java +1 −1 Original line number Diff line number Diff line Loading @@ -489,7 +489,7 @@ class WindowState extends WindowContainer<WindowState> implements WindowManagerP * or some other higher level component said so (e.g. activity manager). * TODO: We should either have different booleans for the removal reason or use a bit-field. */ private boolean mWindowRemovalAllowed; boolean mWindowRemovalAllowed; /** * Temp for keeping track of windows that have been removed when Loading