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

Commit 3f16f11e 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

Change-Id: I40b52700a3d36f582c66b8eba3e11d440d0f5425
parents 61211895 49dcc907
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;
            }
        }