From 22bd325027378460f8c435e4e2e93e49a7be1ff9 Mon Sep 17 00:00:00 2001 From: Jorge Martin Espinosa Date: Fri, 20 Jun 2025 14:19:33 +0200 Subject: [PATCH] Add scripts to enable and disable talkback (#4906) --- tools/adb/disable_talkback.sh | 9 +++++++++ tools/adb/enable_talkback.sh | 8 ++++++++ 2 files changed, 17 insertions(+) create mode 100755 tools/adb/disable_talkback.sh create mode 100755 tools/adb/enable_talkback.sh diff --git a/tools/adb/disable_talkback.sh b/tools/adb/disable_talkback.sh new file mode 100755 index 0000000000..b16b693a0a --- /dev/null +++ b/tools/adb/disable_talkback.sh @@ -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 + diff --git a/tools/adb/enable_talkback.sh b/tools/adb/enable_talkback.sh new file mode 100755 index 0000000000..96f815f685 --- /dev/null +++ b/tools/adb/enable_talkback.sh @@ -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