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

Commit 49dcc907 authored by Svet Ganov's avatar Svet Ganov Committed by android-build-merger
Browse files

Add a missing case when detecting if a toast can be added

am: 62a40f87

Change-Id: I445e8d592d8dda5fa3f8c91553a509801110d859
parents 14890673 62a40f87
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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;
            }
        }