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

Commit cc843823 authored by Mady Mellor's avatar Mady Mellor
Browse files

Add some info about the overflow in bubble bar dump

Flag: com.android.wm.shell.enable_bubble_bar
Test: manual - add some bubbles to bubble bar, take a BR and look
               at the dump
Bug: 358304168
Change-Id: I91e50591df166e928d06ba9a29f69f923218de71
parent dd981d78
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -1474,7 +1474,8 @@ public class BubbleBarView extends FrameLayout {
        pw.println("  visibility: " + getVisibility());
        pw.println("  alpha: " + getAlpha());
        pw.println("  translationY: " + getTranslationY());
        pw.println("  bubbles in bar (childCount = " + getChildCount() + ")");
        pw.println("  childCount: " + getChildCount());
        pw.println("  hasOverflow:  " + hasOverflow());
        for (BubbleView bubbleView: getBubbles()) {
            BubbleBarItem bubble = bubbleView.getBubble();
            String key = bubble == null ? "null" : bubble.getKey();
+1 −0
Original line number Diff line number Diff line
@@ -793,6 +793,7 @@ public class BubbleBarViewController {
        pw.println("  mShouldShowEducation: " + mShouldShowEducation);
        pw.println("  mBubbleBarTranslationY.value: " + mBubbleBarTranslationY.value);
        pw.println("  mBubbleBarSwipeUpTranslationY: " + mBubbleBarSwipeUpTranslationY);
        pw.println("  mOverflowAdded: " + mOverflowAdded);
        if (mBarView != null) {
            mBarView.dump(pw);
        } else {