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

Commit f2ac6aec authored by Ats Jenk's avatar Ats Jenk Committed by Android (Google) Code Review
Browse files

Merge "Only log bubble overflow max reached when in stack view" into main

parents 010c1e66 38faea7f
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -898,7 +898,10 @@ public class BubbleData {
            Bubble oldest = mOverflowBubbles.get(mOverflowBubbles.size() - 1);
            ProtoLog.d(WM_SHELL_BUBBLES, "overflow full, remove=%s", oldest.getKey());
            mStateChange.bubbleRemoved(oldest, Bubbles.DISMISS_OVERFLOW_MAX_REACHED);
            if (!mPositioner.isShowingInBubbleBar()) {
                // Only logged for bubbles in stack view
                mLogger.log(bubble, BubbleLogger.Event.BUBBLE_OVERFLOW_REMOVE_MAX_REACHED);
            }
            mOverflowBubbles.remove(oldest);
            mStateChange.removedOverflowBubble = oldest;
        }