summaryrefslogtreecommitdiff
path: root/libs/input/PointerController.cpp
diff options
context:
space:
mode:
author Candice Lo <chihtinglo@google.com> 2023-02-20 07:30:07 +0000
committer Candice Lo <chihtinglo@google.com> 2023-02-20 11:04:30 +0000
commit2fd620d718561fbf822a16ba8d5b8b1ae66db326 (patch)
tree5e641d7f831bea3924029964f48e1748d5cdd8f9 /libs/input/PointerController.cpp
parent5b5420b921b41464f862b0323e87a3f8005b367f (diff)
Fix accessibility labels for icon buttons
The icons and frames could get accessibility focus at the same time previously since we set an onClickListener on the icon though the icons are not focusable in layout specification. Therefore, we move the onClickListener to the frames to keep the icons non-focusable. Bug: 269218388 Test: Manually - add a video and a screenshot to bug Test: atest SeekBarWithIconButtonsViewTest Test: atest FontScalingDialogTest Change-Id: I4ea0fd1efb4f8e84200e211519c5a46309cfb1c0
Diffstat (limited to 'libs/input/PointerController.cpp')
0 files changed, 0 insertions, 0 deletions