Merge "Store the flyout in BubbleBarBubble" into main

This commit is contained in:
Liran Binyamin
2024-10-08 13:31:53 +00:00
committed by Android (Google) Code Review
5 changed files with 56 additions and 6 deletions

View File

@@ -80,7 +80,16 @@ class BubbleViewTest {
)
bubbleView = inflater.inflate(R.layout.bubblebar_item_view, null, false) as BubbleView
bubble =
BubbleBarBubble(bubbleInfo, bubbleView, bitmap, bitmap, Color.WHITE, Path(), "")
BubbleBarBubble(
bubbleInfo,
bubbleView,
bitmap,
bitmap,
Color.WHITE,
Path(),
"",
null,
)
bubbleView.setBubble(bubble)
}
InstrumentationRegistry.getInstrumentation().waitForIdleSync()

View File

@@ -886,7 +886,16 @@ class BubbleBarViewAnimatorTest {
bubbleView =
inflater.inflate(R.layout.bubblebar_item_view, bubbleBarView, false) as BubbleView
bubble =
BubbleBarBubble(bubbleInfo, bubbleView, bitmap, bitmap, Color.WHITE, Path(), "")
BubbleBarBubble(
bubbleInfo,
bubbleView,
bitmap,
bitmap,
Color.WHITE,
Path(),
"",
null,
)
bubbleView.setBubble(bubble)
bubbleBarView.addView(bubbleView)
}