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

Commit fa198f42 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Add a missing case when detecting if a toast can be added" into nyc-mr1-dev

parents 3462c194 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;
            }
        }