Update bubble bar overflow to have a unique resId

This allows the overflow to be tested properly in end-to-end tests.

Flag: com.android.wm.shell.enable_bubble_bar
Test: atest OverflowBubbleTest (with other CL)
Bug: 347312208
Change-Id: Ice969434f9c40602c4b2d1a5baf6ba0509534a56
This commit is contained in:
Mady Mellor
2024-06-18 16:43:32 -07:00
parent 66d18b98dd
commit 58a6bbac4a
2 changed files with 22 additions and 1 deletions

View File

@@ -600,7 +600,7 @@ public class BubbleBarController extends IBubblesListener.Stub {
Bitmap bitmap = createOverflowBitmap(context);
LayoutInflater inflater = LayoutInflater.from(context);
BubbleView bubbleView = (BubbleView) inflater.inflate(
R.layout.bubblebar_item_view, mBarView, false /* attachToRoot */);
R.layout.bubble_bar_overflow_button, mBarView, false /* attachToRoot */);
BubbleBarOverflow overflow = new BubbleBarOverflow(bubbleView);
bubbleView.setOverflow(overflow, bitmap);
return overflow;