Merge "Fix an issue in my last CL" into rvc-dev am: 88f572530f am: 4bc5e70ef6

Change-Id: I36240da0aac56ba842bbdfa1ffdf03d8c522d989
This commit is contained in:
TreeHugger Robot
2020-05-27 03:38:35 +00:00
committed by Automerger Merge Worker

View File

@@ -863,12 +863,12 @@ public class BubbleController implements ConfigurationController.ConfigurationLi
} else { } else {
bubble = mBubbleData.getOverflowBubbleWithKey(key); bubble = mBubbleData.getOverflowBubbleWithKey(key);
if (bubble != null) { if (bubble != null) {
bubble.setShouldAutoExpand(true);
promoteBubbleFromOverflow(bubble); promoteBubbleFromOverflow(bubble);
} else if (entry.canBubble()) { } else if (entry.canBubble()) {
// It can bubble but it's not -- it got aged out of the overflow before it // It can bubble but it's not -- it got aged out of the overflow before it
// was dismissed or opened, make it a bubble again. // was dismissed or opened, make it a bubble again.
setIsBubble(entry, true); setIsBubble(entry, true);
bubble.setShouldAutoExpand(true);
updateBubble(entry, true /* suppressFlyout */, false /* showInShade */); updateBubble(entry, true /* suppressFlyout */, false /* showInShade */);
} }
} }