Merge "Fix blank activity after promoting overflow bubble" into rvc-dev

This commit is contained in:
TreeHugger Robot
2020-03-14 00:35:47 +00:00
committed by Android (Google) Code Review

View File

@@ -207,12 +207,13 @@ public class BubbleData {
// Preserve new order for next repack, which sorts by last updated time.
bubble.markUpdatedAt(mTimeSource.currentTimeMillis());
setSelectedBubbleInternal(bubble);
mOverflowBubbles.remove(bubble);
bubble.inflate(
b -> notificationEntryUpdated(bubble, /* suppressFlyout */
false, /* showInShade */ true),
b -> {
notificationEntryUpdated(bubble, /* suppressFlyout */
false, /* showInShade */ true);
setSelectedBubbleInternal(bubble);
},
mContext, stack, factory);
dispatchPendingChanges();
}