Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4438d9b5 authored by Lyn Han's avatar Lyn Han
Browse files

Fix blank activity after promoting overflow bubble

Select bubble after inflation.

Fixes: 150397228
Test: manual - promote bubble from overflow, activity shows
Change-Id: Icf7085a290e0c3163e9f65a639305a3eb64d1138
parent 28ab4933
Loading
Loading
Loading
Loading
+5 −4
Original line number Diff line number Diff line
@@ -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();
    }