Fix bubbles behavior in bedtime mode
Bug: 185083022 Test: atest SystemUITests Test: screen recording https://drive.google.com/file/d/1jGHUaGoqtJIFcK439ZFBke_TKKdAGbKL/view?usp=sharing Change-Id: Ida14930e50fb41bc5e2809b2b3127bb581a3bac0
This commit is contained in:
@@ -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());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user