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

Commit 7a8780be authored by Mat Bevilacqua's avatar Mat Bevilacqua
Browse files

Add setting for Aware allowed/disallowed

Bug: 118171317
Test: make
Change-Id: I1d5f1d72b65a63ff2c7bf8e6abeeb170af47808a
parent 912ca402
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -13333,6 +13333,14 @@ public final class Settings {
        /** {@hide} */
        public static final String ISOLATED_STORAGE_REMOTE = "isolated_storage_remote";
        /**
         * Indicates whether aware is available in the current location.
         * @hide
         */
        public static final String AWARE_ALLOWED = "aware_allowed";
        private static final Validator AWARE_ALLOWED_VALIDATOR = BOOLEAN_VALIDATOR;
        /**
         * Settings to backup. This is here so that it's in the same place as the settings
         * keys and easy to update.
@@ -13379,6 +13387,7 @@ public final class Settings {
            SOFT_AP_TIMEOUT_ENABLED,
            ZEN_DURATION,
            CHARGING_VIBRATION_ENABLED,
            AWARE_ALLOWED,
        };
        /**
@@ -13439,6 +13448,7 @@ public final class Settings {
            VALIDATORS.put(WIFI_PNO_RECENCY_SORTING_ENABLED,
                    WIFI_PNO_RECENCY_SORTING_ENABLED_VALIDATOR);
            VALIDATORS.put(WIFI_LINK_PROBING_ENABLED, WIFI_LINK_PROBING_ENABLED_VALIDATOR);
            VALIDATORS.put(AWARE_ALLOWED, AWARE_ALLOWED_VALIDATOR);
        }
        /**