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

Commit b13cde5c authored by Sergey Serokurov's avatar Sergey Serokurov Committed by Android (Google) Code Review
Browse files

Merge "Fix bubbles behavior in bedtime mode" into sc-v2-dev

parents 474a42a2 1516eb0a
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -1036,10 +1036,9 @@ public class BubbleController {
                // notification, so that the bubble will be re-created if shouldBubbleUp returns
                // true.
                mBubbleData.dismissBubbleWithKey(key, DISMISS_NO_BUBBLE_UP);
            } else if (entry != null && mTmpRanking.isBubble() && !isActiveBubble
                    && !entry.getRanking().isSuspended()) {
            } else if (entry != null && mTmpRanking.isBubble() && !isActiveBubble) {
                entry.setFlagBubble(true);
                onEntryUpdated(entry, true /* shouldBubbleUp */);
                onEntryUpdated(entry, shouldBubbleUp && !entry.getRanking().isSuspended());
            }
        }
    }