mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-01 08:16:49 +00:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user