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

Commit 8a9215e2 authored by Yeabkal Assegid Wubshit's avatar Yeabkal Assegid Wubshit Committed by Android (Google) Code Review
Browse files

Merge "Add gesture settings to system settings provider"

parents fc9ae631 1253d56f
Loading
Loading
Loading
Loading
+12 −0
Original line number Diff line number Diff line
@@ -16701,6 +16701,18 @@ public final class Settings {
             * @hide
             */
            public static final String OEM_SETUP_VERSION = "oem_setup_version";
            /**
             * Controls the gestures feature.
             * @hide
             */
            public static final String MASTER_GESTURES_ENABLED = "master_gestures_enabled";
            /**
             * Whether or not ungaze is enabled.
             * @hide
             */
            public static final String UNGAZE_ENABLED = "ungaze_enabled";
        }
    }
+2 −0
Original line number Diff line number Diff line
@@ -294,6 +294,8 @@ public class GlobalSettingsValidators {
        VALIDATORS.put(Global.Wearable.COMPANION_OS_VERSION, ANY_INTEGER_VALIDATOR);
        VALIDATORS.put(Global.Wearable.ENABLE_ALL_LANGUAGES, BOOLEAN_VALIDATOR);
        VALIDATORS.put(Global.Wearable.OEM_SETUP_VERSION, ANY_INTEGER_VALIDATOR);
        VALIDATORS.put(Global.Wearable.MASTER_GESTURES_ENABLED, BOOLEAN_VALIDATOR);
        VALIDATORS.put(Global.Wearable.UNGAZE_ENABLED, BOOLEAN_VALIDATOR);
    }
}
+3 −1
Original line number Diff line number Diff line
@@ -654,7 +654,9 @@ public class SettingsBackupTest {
                    Settings.Global.Wearable.COMPANION_OS_VERSION,
                    Settings.Global.Wearable.ENABLE_ALL_LANGUAGES,
                    Settings.Global.Wearable.SETUP_LOCALE,
                    Settings.Global.Wearable.OEM_SETUP_VERSION);
                    Settings.Global.Wearable.OEM_SETUP_VERSION,
                    Settings.Global.Wearable.MASTER_GESTURES_ENABLED,
                    Settings.Global.Wearable.UNGAZE_ENABLED);

    private static final Set<String> BACKUP_DENY_LIST_SECURE_SETTINGS =
             newHashSet(