diff --git a/packages/SystemUI/src/com/android/systemui/bubbles/BubbleData.java b/packages/SystemUI/src/com/android/systemui/bubbles/BubbleData.java index cf5a4d3840cca..4876c572eb0b4 100644 --- a/packages/SystemUI/src/com/android/systemui/bubbles/BubbleData.java +++ b/packages/SystemUI/src/com/android/systemui/bubbles/BubbleData.java @@ -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(); }