Add scripts to enable and disable talkback (#4906)

This commit is contained in:
Jorge Martin Espinosa 2025-06-20 14:19:33 +02:00 committed by GitHub
parent 110534687b
commit 12fdb8e875
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 17 additions and 0 deletions

9
tools/adb/disable_talkback.sh Executable file
View file

@ -0,0 +1,9 @@
#!/usr/bin/env bash
# Copyright 2025 New Vector Ltd.
#
# SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
# Please see LICENSE files in the repository root for full details.
adb shell settings put secure enabled_accessibility_services null

8
tools/adb/enable_talkback.sh Executable file
View file

@ -0,0 +1,8 @@
#!/usr/bin/env bash
# Copyright 2025 New Vector Ltd.
#
# SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
# Please see LICENSE files in the repository root for full details.
adb shell settings put secure enabled_accessibility_services com.google.android.marvin.talkback/com.google.android.marvin.talkback.TalkBackService