Add WEAR_TALKBACK_ENABLED as a secure system setting

Bug: 185981712

Change-Id: I043f31e7da512bce072678614d8ba7e78123dbc5
(cherry picked from commit c7aa9ffe701c2d2b0aec0d8ebecf39eb5eff9dc9)
This commit is contained in:
Anubha Kushwaha
2021-07-14 10:09:04 +00:00
committed by Yeabkal Wubshit
parent 4b1431c259
commit a03b962b3a
2 changed files with 8 additions and 0 deletions

View File

@@ -7236,6 +7236,13 @@ public final class Settings {
public static final String TOUCH_EXPLORATION_GRANTED_ACCESSIBILITY_SERVICES =
"touch_exploration_granted_accessibility_services";
/**
* Is talkback service enabled or not. 0 == no, 1 == yes
*
* @hide
*/
public static final String WEAR_TALKBACK_ENABLED = "wear_talkback_enabled";
/**
* Whether the Global Actions Panel is enabled.
* @hide

View File

@@ -69,6 +69,7 @@ public class SecureSettingsValidators {
Secure.TOUCH_EXPLORATION_GRANTED_ACCESSIBILITY_SERVICES,
COLON_SEPARATED_COMPONENT_LIST_VALIDATOR);
VALIDATORS.put(Secure.TOUCH_EXPLORATION_ENABLED, BOOLEAN_VALIDATOR);
VALIDATORS.put(Secure.WEAR_TALKBACK_ENABLED, BOOLEAN_VALIDATOR);
VALIDATORS.put(Secure.ACCESSIBILITY_ENABLED, BOOLEAN_VALIDATOR);
VALIDATORS.put(
Secure.ACCESSIBILITY_SHORTCUT_TARGET_SERVICE,