Merge "Only inflate & add if it's a bubble" into rvc-dev

This commit is contained in:
TreeHugger Robot
2020-06-10 21:44:41 +00:00
committed by Android (Google) Code Review

View File

@@ -1166,7 +1166,7 @@ public class BubbleController implements ConfigurationController.ConfigurationLi
if (b.getEntry() != null) {
// Updating the entry to be a bubble will trigger our normal update flow
setIsBubble(b.getEntry(), isBubble, b.shouldAutoExpand());
} else {
} else if (isBubble) {
// If we have no entry to update, it's a persisted bubble so
// we need to add it to the stack ourselves
Bubble bubble = mBubbleData.getOrCreateBubble(null, b /* persistedBubble */);