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

Commit 2ffb5422 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 am: 49dcc907

am: 3f16f11e

Change-Id: I66c2208be0b5fa9ea0fe14dc368d25a964b16601
parents 748544c9 3f16f11e
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -779,7 +779,8 @@ class DisplayContent extends WindowContainer<TaskStack> {
        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;
            }
        }