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 73577b5b0f
commit 22bd325027
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