diff options
| author | 2023-08-04 21:09:37 +0000 | |
|---|---|---|
| committer | 2023-08-06 06:04:15 +0000 | |
| commit | 3b926f13e84f8b35e157ece68df81dcfba31cd9a (patch) | |
| tree | f4b5a478dded3c8b9f4d2ee6baea11cbf1489982 /libs/hwui/FrameInfoVisualizer.cpp | |
| parent | 7748d9bf1707a7114ab6a57fbe934810e32e87e5 (diff) | |
Add the default a11y service to the target shortcut service when turns
on the default shortcut.
Bug: 294575237
Test: atest AccessibilityShortcutControllerTest
Test: manual
- Test steps:
    - In SUW landing page, use the volume keys to trigger an accessibility shortcut
    - Given the default accessibility service is TalkBack
    - Click Turn on when seeing Turn on TalkBack shortcut? warning dialog
    - [Expected] TalkBack component name is added to
      Settings.Secure.ACCESSIBILITY_SHORTCUT_TARGET_SERVICE by running the
      adb command `adb shell settings get secure accessibility_shortcut_target_service`
      and verify the output contains Talkback component name.
    - Go to Vision Settings
    - Click Select to Speak
    - Set up volume keys as the shortcut to trigger Select to Speak
    - Use the volume keys to trigger the accessibility service
    - [Expected] See the dialog letting the user to choose whether to
      turn on Select to Speak or TalkBack.
Change-Id: I1482240e8fbd778ad760a0a0c07a3c05bb2ed817
Diffstat (limited to 'libs/hwui/FrameInfoVisualizer.cpp')
0 files changed, 0 insertions, 0 deletions