From 87e579ea2d866ee5d87a172d8b4931a7aaf26947 Mon Sep 17 00:00:00 2001 From: Liran Binyamin Date: Thu, 6 Jun 2024 16:35:22 -0400 Subject: [PATCH] Fix bubble visibility issue when collapsed When the bubble bar collapses, explicitly set the alpha to 1 for bubbles that should not be hidden. Flag: com.android.wm.shell.enable_bubble_bar Fixes: 345283193 Test: manual - create 3 bubbles in the bar - tap to expand - select the last bubble - tap it again to collapse - observe it is visible Change-Id: I1aed310b66433b88b08ccaf760fc8e82923b1b64 --- .../com/android/launcher3/taskbar/bubbles/BubbleBarView.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/quickstep/src/com/android/launcher3/taskbar/bubbles/BubbleBarView.java b/quickstep/src/com/android/launcher3/taskbar/bubbles/BubbleBarView.java index 23e52e6f71..dbab3f05e4 100644 --- a/quickstep/src/com/android/launcher3/taskbar/bubbles/BubbleBarView.java +++ b/quickstep/src/com/android/launcher3/taskbar/bubbles/BubbleBarView.java @@ -715,6 +715,8 @@ public class BubbleBarView extends FrameLayout { } else if (i == MAX_VISIBLE_BUBBLES_COLLAPSED - 1 && bubbleCount == MAX_VISIBLE_BUBBLES_COLLAPSED) { bv.setAlpha(0); + } else { + bv.setAlpha(1); } } }