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

Commit 2480d9cf authored by Lyn Han's avatar Lyn Han
Browse files

Show dots in overflow

BadgedImageView#shouldDrawDot hides the icon if there are any
suppression flags. Remove FLYOUT_VISIBLE flag for overflow icons, since
we don't show flyouts for overflow bubbles.

Fixes: 148878911
Test: manual: unopened bubbles show dots in overflow
Test: manual: opened bubbles do not show dots in overflow
Change-Id: I26147f75b479cb28eedd910135e8e5bc00ecef14
parent c65d2c3e
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -215,6 +215,7 @@ class BubbleOverflowAdapter extends RecyclerView.Adapter<BubbleOverflowAdapter.V
        Bubble b = mBubbles.get(index);

        vh.iconView.setRenderedBubble(b);
        vh.iconView.removeDotSuppressionFlag(BadgedImageView.SuppressionFlag.FLYOUT_VISIBLE);
        vh.iconView.setOnClickListener(view -> {
            mBubbles.remove(b);
            notifyDataSetChanged();