Merge "Fix blank activity after promoting overflow bubble" into rvc-dev am: dad1e77878 am: 0dd0ff7566 am: 131e7dd3dd

Change-Id: Id5eee4402a4094b3744eecfa8389ee6653f2101b
This commit is contained in:
Automerger Merge Worker
2020-03-14 01:14:20 +00:00

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();
}