summaryrefslogtreecommitdiff
path: root/libs/hwui/RenderNode.cpp
diff options
context:
space:
mode:
author Yuri Lin <yurilin@google.com> 2024-08-28 15:58:02 -0400
committer Matías Hernández <matiashe@google.com> 2024-08-30 10:54:53 +0000
commit43dac35e5e07b79717677662253e950401e6eb2c (patch)
treec1c20cdbbe82f4e00b305a75952510d4f0c55f02 /libs/hwui/RenderNode.cpp
parent6501946fda971d6f68813be0cbf022d7efdadf90 (diff)
Add on/off state description to mode tile toggles.
This allows screen readers to read the state of the button, and react to presses that change it. The description now reads "[on/off], [mode name], [trigger description]" similarly to how other quick settings tiles behave. Also adds long click label so it will read "double tap and hold to open settings". Bug: 359845144 Test: manual with TalkBack, ModesDialogViewModelTest Flag: android.app.modes_ui Change-Id: Icb31b77ebe31e607fde87eb51356ea27bafc9278
Diffstat (limited to 'libs/hwui/RenderNode.cpp')
0 files changed, 0 insertions, 0 deletions