Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a03b962b authored by Anubha Kushwaha's avatar Anubha Kushwaha Committed by Yeabkal Wubshit
Browse files

Add WEAR_TALKBACK_ENABLED as a secure system setting

Bug: 185981712

Change-Id: I043f31e7da512bce072678614d8ba7e78123dbc5
(cherry picked from commit c7aa9ffe701c2d2b0aec0d8ebecf39eb5eff9dc9)
parent 4b1431c2
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -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
+1 −0
Original line number Diff line number Diff line
@@ -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,