From 944b127412726be90f6aa1fed297f7aa4971376b Mon Sep 17 00:00:00 2001 From: Mady Mellor Date: Mon, 22 May 2023 09:04:29 -0700 Subject: [PATCH] Fix an issue with visibility of the BubbleBarLayerView We don't need this isStackExpanded check here, instead if we have bubbles & are unlocked, we should set the view as visible. Flag: WM_BUBBLE_BAR Test: manual - enable bubbles, get a bubble, lock the screen - unlock the screen - swipe up on handle to show bubbles, ensure the bubble expanded view is visible Bug: 279032445 Change-Id: I143df78cf8b618cff1d3af2d479aa1996d611936 --- .../src/com/android/wm/shell/bubbles/BubbleController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/BubbleController.java b/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/BubbleController.java index 3eb9fa2eef6b2..988ad8c6c0f7b 100644 --- a/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/BubbleController.java +++ b/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/BubbleController.java @@ -1846,7 +1846,7 @@ public class BubbleController implements ConfigurationChangeListener, if (mStackView != null) { mStackView.setVisibility(VISIBLE); } - if (mLayerView != null && isStackExpanded()) { + if (mLayerView != null) { mLayerView.setVisibility(VISIBLE); } }