Merge "Fix bubbles behavior in bedtime mode" into sc-v2-dev am: b13cde5c9c
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16227228 Change-Id: Ic0eec06f3c02f232cbd6db48f8fcab96dd69070c
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