Add a missing case when detecting if a toast can be added
am: 62a40f87b3
Change-Id: I445e8d592d8dda5fa3f8c91553a509801110d859
This commit is contained in:
@@ -697,7 +697,8 @@ class DisplayContent {
|
||||
for (int i = 0; i < windowCount; i++) {
|
||||
WindowState window = windows.get(i);
|
||||
if (window.mAttrs.type == TYPE_TOAST && window.mOwnerUid == uid
|
||||
&& !window.mPermanentlyHidden && !window.mAnimatingExit) {
|
||||
&& !window.mPermanentlyHidden && !window.mAnimatingExit
|
||||
&& !window.mRemoveOnExit) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user