Loading core/java/android/provider/Settings.java +13 −0 Original line number Diff line number Diff line Loading @@ -8817,6 +8817,19 @@ public final class Settings { public static final String SUGGESTED_THEME_FEATURE_ENABLED = "suggested_theme_feature_enabled"; /** * Setting to indicate whether the AppFunction agent allowlist should be enabled. * * <ul> * <li>0 = Off * <li>1 = Enabled (Default) * </ul> * * @hide */ public static final String APP_FUNCTION_AGENT_ALLOWLIST_ENABLED = "app_function_agent_allowlist_enabled"; /** * Set by the system to track if the user needs to see the call to action for * the lockscreen notification policy. Loading packages/SettingsProvider/src/android/provider/settings/validators/SecureSettingsValidators.java +1 −0 Original line number Diff line number Diff line Loading @@ -512,5 +512,6 @@ public class SecureSettingsValidators { VALIDATORS.put(Secure.SUGGESTED_THEME_FEATURE_ENABLED, BOOLEAN_VALIDATOR); VALIDATORS.put(Secure.HDR_BRIGHTNESS_ENABLED, BOOLEAN_VALIDATOR); VALIDATORS.put(Secure.HDR_BRIGHTNESS_BOOST_LEVEL, new InclusiveFloatRangeValidator(0, 1)); VALIDATORS.put(Secure.APP_FUNCTION_AGENT_ALLOWLIST_ENABLED, BOOLEAN_VALIDATOR); } } packages/SettingsProvider/test/src/android/provider/SettingsBackupTest.java +2 −1 Original line number Diff line number Diff line Loading @@ -813,7 +813,8 @@ public class SettingsBackupTest { Settings.Secure.PACK_THEME_FEATURE_ENABLED, Settings.Secure.SUGGESTED_THEME_FEATURE_ENABLED, Settings.Secure.REDACT_OTP_NOTIFICATION_WHILE_CONNECTED_TO_WIFI, Settings.Secure.OTP_NOTIFICATION_REDACTION_LOCK_TIME); Settings.Secure.OTP_NOTIFICATION_REDACTION_LOCK_TIME, Settings.Secure.APP_FUNCTION_AGENT_ALLOWLIST_ENABLED); @Test public void systemSettingsBackedUpOrDenied() { Loading Loading
core/java/android/provider/Settings.java +13 −0 Original line number Diff line number Diff line Loading @@ -8817,6 +8817,19 @@ public final class Settings { public static final String SUGGESTED_THEME_FEATURE_ENABLED = "suggested_theme_feature_enabled"; /** * Setting to indicate whether the AppFunction agent allowlist should be enabled. * * <ul> * <li>0 = Off * <li>1 = Enabled (Default) * </ul> * * @hide */ public static final String APP_FUNCTION_AGENT_ALLOWLIST_ENABLED = "app_function_agent_allowlist_enabled"; /** * Set by the system to track if the user needs to see the call to action for * the lockscreen notification policy. Loading
packages/SettingsProvider/src/android/provider/settings/validators/SecureSettingsValidators.java +1 −0 Original line number Diff line number Diff line Loading @@ -512,5 +512,6 @@ public class SecureSettingsValidators { VALIDATORS.put(Secure.SUGGESTED_THEME_FEATURE_ENABLED, BOOLEAN_VALIDATOR); VALIDATORS.put(Secure.HDR_BRIGHTNESS_ENABLED, BOOLEAN_VALIDATOR); VALIDATORS.put(Secure.HDR_BRIGHTNESS_BOOST_LEVEL, new InclusiveFloatRangeValidator(0, 1)); VALIDATORS.put(Secure.APP_FUNCTION_AGENT_ALLOWLIST_ENABLED, BOOLEAN_VALIDATOR); } }
packages/SettingsProvider/test/src/android/provider/SettingsBackupTest.java +2 −1 Original line number Diff line number Diff line Loading @@ -813,7 +813,8 @@ public class SettingsBackupTest { Settings.Secure.PACK_THEME_FEATURE_ENABLED, Settings.Secure.SUGGESTED_THEME_FEATURE_ENABLED, Settings.Secure.REDACT_OTP_NOTIFICATION_WHILE_CONNECTED_TO_WIFI, Settings.Secure.OTP_NOTIFICATION_REDACTION_LOCK_TIME); Settings.Secure.OTP_NOTIFICATION_REDACTION_LOCK_TIME, Settings.Secure.APP_FUNCTION_AGENT_ALLOWLIST_ENABLED); @Test public void systemSettingsBackedUpOrDenied() { Loading