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

Change-Id: I941d97a0d27c49d803e2fcbbd4dfbbb8879ae823
This commit is contained in:
Automerger Merge Worker
2020-03-14 00:48:28 +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();
}