Loading core/java/android/provider/Settings.java +9 −0 Original line number Diff line number Diff line Loading @@ -8435,6 +8435,13 @@ public final class Settings { private static final Validator THEME_CUSTOMIZATION_OVERLAY_PACKAGES_VALIDATOR = new SettingsValidators.PackageNameListValidator(","); /** * Controls whether aware is enabled. * @hide */ public static final String AWARE_ENABLED = "aware_enabled"; private static final Validator AWARE_ENABLED_VALIDATOR = BOOLEAN_VALIDATOR; /** * This are the settings to be backed up. * Loading Loading @@ -8559,6 +8566,7 @@ public final class Settings { SKIP_GESTURE, SILENCE_GESTURE, THEME_CUSTOMIZATION_OVERLAY_PACKAGES, AWARE_ENABLED, }; /** Loading Loading @@ -8731,6 +8739,7 @@ public final class Settings { VALIDATORS.put(SILENCE_GESTURE, SILENCE_GESTURE_VALIDATOR); VALIDATORS.put(THEME_CUSTOMIZATION_OVERLAY_PACKAGES, THEME_CUSTOMIZATION_OVERLAY_PACKAGES_VALIDATOR); VALIDATORS.put(AWARE_ENABLED, AWARE_ENABLED_VALIDATOR); } /** Loading core/proto/android/app/settings_enums.proto +6 −0 Original line number Diff line number Diff line Loading @@ -2183,4 +2183,10 @@ enum PageId { // OPEN: Settings > Display > Adaptive sleep // OS: Q SETTINGS_ADAPTIVE_SLEEP = 1628; // OPEN: Settings > System > Aware SETTINGS_AWARE = 1632; // OPEN: Settings > System > Aware > Disable > Dialog DIALOG_AWARE_DISABLE = 1633; } core/proto/android/providers/settings/secure.proto +3 −1 Original line number Diff line number Diff line Loading @@ -530,7 +530,9 @@ message SecureSettingsProto { optional SettingProto silence_gesture_enabled = 75 [ (android.privacy).dest = DEST_AUTOMATIC ]; optional SettingProto theme_customization_overlay_packages = 76 [ (android.privacy).dest = DEST_AUTOMATIC ]; optional SettingProto aware_enabled = 77 [ (android.privacy).dest = DEST_AUTOMATIC ]; // Please insert fields in alphabetical order and group them into messages // if possible (to avoid reaching the method limit). // Next tag = 77; // Next tag = 78; } core/res/res/values/config.xml +3 −0 Original line number Diff line number Diff line Loading @@ -3762,4 +3762,7 @@ <!-- Whether cbrs is supported on the device or not --> <bool translatable="false" name="config_cbrs_supported">false</bool> <!-- Whether or not aware is enabled by default --> <bool name="config_awareSettingAvailable">false</bool> </resources> core/res/res/values/symbols.xml +2 −0 Original line number Diff line number Diff line Loading @@ -3553,4 +3553,6 @@ <!-- For CBRS --> <java-symbol type="bool" name="config_cbrs_supported" /> <java-symbol type="bool" name="config_awareSettingAvailable" /> </resources> Loading
core/java/android/provider/Settings.java +9 −0 Original line number Diff line number Diff line Loading @@ -8435,6 +8435,13 @@ public final class Settings { private static final Validator THEME_CUSTOMIZATION_OVERLAY_PACKAGES_VALIDATOR = new SettingsValidators.PackageNameListValidator(","); /** * Controls whether aware is enabled. * @hide */ public static final String AWARE_ENABLED = "aware_enabled"; private static final Validator AWARE_ENABLED_VALIDATOR = BOOLEAN_VALIDATOR; /** * This are the settings to be backed up. * Loading Loading @@ -8559,6 +8566,7 @@ public final class Settings { SKIP_GESTURE, SILENCE_GESTURE, THEME_CUSTOMIZATION_OVERLAY_PACKAGES, AWARE_ENABLED, }; /** Loading Loading @@ -8731,6 +8739,7 @@ public final class Settings { VALIDATORS.put(SILENCE_GESTURE, SILENCE_GESTURE_VALIDATOR); VALIDATORS.put(THEME_CUSTOMIZATION_OVERLAY_PACKAGES, THEME_CUSTOMIZATION_OVERLAY_PACKAGES_VALIDATOR); VALIDATORS.put(AWARE_ENABLED, AWARE_ENABLED_VALIDATOR); } /** Loading
core/proto/android/app/settings_enums.proto +6 −0 Original line number Diff line number Diff line Loading @@ -2183,4 +2183,10 @@ enum PageId { // OPEN: Settings > Display > Adaptive sleep // OS: Q SETTINGS_ADAPTIVE_SLEEP = 1628; // OPEN: Settings > System > Aware SETTINGS_AWARE = 1632; // OPEN: Settings > System > Aware > Disable > Dialog DIALOG_AWARE_DISABLE = 1633; }
core/proto/android/providers/settings/secure.proto +3 −1 Original line number Diff line number Diff line Loading @@ -530,7 +530,9 @@ message SecureSettingsProto { optional SettingProto silence_gesture_enabled = 75 [ (android.privacy).dest = DEST_AUTOMATIC ]; optional SettingProto theme_customization_overlay_packages = 76 [ (android.privacy).dest = DEST_AUTOMATIC ]; optional SettingProto aware_enabled = 77 [ (android.privacy).dest = DEST_AUTOMATIC ]; // Please insert fields in alphabetical order and group them into messages // if possible (to avoid reaching the method limit). // Next tag = 77; // Next tag = 78; }
core/res/res/values/config.xml +3 −0 Original line number Diff line number Diff line Loading @@ -3762,4 +3762,7 @@ <!-- Whether cbrs is supported on the device or not --> <bool translatable="false" name="config_cbrs_supported">false</bool> <!-- Whether or not aware is enabled by default --> <bool name="config_awareSettingAvailable">false</bool> </resources>
core/res/res/values/symbols.xml +2 −0 Original line number Diff line number Diff line Loading @@ -3553,4 +3553,6 @@ <!-- For CBRS --> <java-symbol type="bool" name="config_cbrs_supported" /> <java-symbol type="bool" name="config_awareSettingAvailable" /> </resources>