Merge "Add some info about the overflow in bubble bar dump" into main

This commit is contained in:
Treehugger Robot authored and Android (Google) Code Review committed 2024-08-30 00:24:53 +00:00
commit e7efecc52c
2 files changed
+4 -2

No files matched your search

@@ -1473,8 +1473,9 @@ public class BubbleBarView extends FrameLayout {
pw.println("BubbleBarView state:");
pw.println(" visibility: " + getVisibility());
pw.println(" alpha: " + getAlpha());
pw.println(" translation Y: " + getTranslationY());
pw.println(" bubbles in bar (childCount = " + getChildCount() + ")");
pw.println(" translationY: " + getTranslationY());
pw.println(" childCount: " + getChildCount());
pw.println(" hasOverflow: " + hasOverflow());
for (BubbleView bubbleView: getBubbles()) {
BubbleBarItem bubble = bubbleView.getBubble();
String key = bubble == null ? "null" : bubble.getKey();
@@ -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 {