summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Ats Jenk <atsjenk@google.com> 2024-07-25 13:59:13 -0700
committer Ats Jenk <atsjenk@google.com> 2024-07-25 13:59:13 -0700
commitac9ab9afc0620e7f055efc89c57c34ce0d320348 (patch)
tree79ffec27301586316c34e0517b78a6551510b865
parent886cfb2a1b15fe58f6681a8cc315ec3bfdce4186 (diff)
Bubble handle is not focusable with talkback in overflow
Bubble handle is not shown in the overflow view. But it was still focusable with talkback turned on. Updating the visibility of the handle to ensure that talkback does not try to focus on it. Bug: 344674602 Flag: com.android.wm.shell.enable_bubble_bar Test: enable talkback and open overflow in bubble bar, ensure that handle can't be navigated to with swipe to next gesture Change-Id: If9f9ea3bb583358b6128ac9cb1b024ea33da871a
-rw-r--r--libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/bar/BubbleBarExpandedView.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/bar/BubbleBarExpandedView.java b/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/bar/BubbleBarExpandedView.java
index 972dce51e02b..24c568c23bf2 100644
--- a/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/bar/BubbleBarExpandedView.java
+++ b/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/bar/BubbleBarExpandedView.java
@@ -169,6 +169,8 @@ public class BubbleBarExpandedView extends FrameLayout implements BubbleTaskView
R.layout.bubble_overflow_container, null /* root */);
mOverflowView.initialize(expandedViewManager, positioner);
addView(mOverflowView);
+ // Don't show handle for overflow
+ mHandleView.setVisibility(View.GONE);
} else {
mTaskView = bubbleTaskView.getTaskView();
mBubbleTaskViewHelper = new BubbleTaskViewHelper(mContext, expandedViewManager,