Merge "Fix an issue in my last CL" into rvc-dev

This commit is contained in:
TreeHugger Robot
2020-05-27 03:25:19 +00:00
committed by Android (Google) Code Review

View File

@@ -863,12 +863,12 @@ public class BubbleController implements ConfigurationController.ConfigurationLi
} else {
bubble = mBubbleData.getOverflowBubbleWithKey(key);
if (bubble != null) {
bubble.setShouldAutoExpand(true);
promoteBubbleFromOverflow(bubble);
} else if (entry.canBubble()) {
// 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.
setIsBubble(entry, true);
bubble.setShouldAutoExpand(true);
updateBubble(entry, true /* suppressFlyout */, false /* showInShade */);
}
}