Merge "Add WEAR_TALKBACK_ENABLED as a secure system setting"

This commit is contained in:
Yeabkal Assegid Wubshit
2021-07-27 14:59:42 +00:00
committed by Android (Google) Code Review
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,