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. // Preserve new order for next repack, which sorts by last updated time.
bubble.markUpdatedAt(mTimeSource.currentTimeMillis()); bubble.markUpdatedAt(mTimeSource.currentTimeMillis());
setSelectedBubbleInternal(bubble);
mOverflowBubbles.remove(bubble); mOverflowBubbles.remove(bubble);
bubble.inflate( bubble.inflate(
b -> notificationEntryUpdated(bubble, /* suppressFlyout */ b -> {
false, /* showInShade */ true), notificationEntryUpdated(bubble, /* suppressFlyout */
false, /* showInShade */ true);
setSelectedBubbleInternal(bubble);
},
mContext, stack, factory); mContext, stack, factory);
dispatchPendingChanges(); dispatchPendingChanges();
} }