Loading core/java/android/provider/Settings.java +9 −1 Original line number Diff line number Diff line Loading @@ -13795,12 +13795,20 @@ public final class Settings { /** * Tracks if the user has seen the promo card for Identity Check. * The promo card should only appear once per device via Safety Center. * The promo card should only appear once per user via Safety Center. * * @hide */ public static final String IDENTITY_CHECK_PROMO_CARD_SHOWN = "identity_check_promo_card_shown"; /** * Tracks if the user has interacted with the Identity Check promo notification. * The notification should only appear once per user via Safety Center. * @hide */ public static final String IDENTITY_CHECK_NOTIFICATION_VIEW_DETAILS_CLICKED = "identity_check_notification_view_details_clicked"; } /** packages/SettingsProvider/src/android/provider/settings/backup/SecureSettings.java +1 −0 Original line number Diff line number Diff line Loading @@ -323,5 +323,6 @@ public class SecureSettings { Settings.Secure.HDR_BRIGHTNESS_BOOST_LEVEL, Settings.Secure.IDENTITY_CHECK_ENABLED_V1, Settings.Secure.IDENTITY_CHECK_PROMO_CARD_SHOWN, Settings.Secure.IDENTITY_CHECK_NOTIFICATION_VIEW_DETAILS_CLICKED, }; } packages/SettingsProvider/src/android/provider/settings/validators/SecureSettingsValidators.java +2 −0 Original line number Diff line number Diff line Loading @@ -518,5 +518,7 @@ public class SecureSettingsValidators { VALIDATORS.put(Secure.IDENTITY_CHECK_ENABLED_V1, new InclusiveIntegerRangeValidator(0, 1)); VALIDATORS.put(Secure.IDENTITY_CHECK_PROMO_CARD_SHOWN, new InclusiveIntegerRangeValidator(0, 1)); VALIDATORS.put(Secure.IDENTITY_CHECK_NOTIFICATION_VIEW_DETAILS_CLICKED, new InclusiveIntegerRangeValidator(0, 1)); } } Loading
core/java/android/provider/Settings.java +9 −1 Original line number Diff line number Diff line Loading @@ -13795,12 +13795,20 @@ public final class Settings { /** * Tracks if the user has seen the promo card for Identity Check. * The promo card should only appear once per device via Safety Center. * The promo card should only appear once per user via Safety Center. * * @hide */ public static final String IDENTITY_CHECK_PROMO_CARD_SHOWN = "identity_check_promo_card_shown"; /** * Tracks if the user has interacted with the Identity Check promo notification. * The notification should only appear once per user via Safety Center. * @hide */ public static final String IDENTITY_CHECK_NOTIFICATION_VIEW_DETAILS_CLICKED = "identity_check_notification_view_details_clicked"; } /**
packages/SettingsProvider/src/android/provider/settings/backup/SecureSettings.java +1 −0 Original line number Diff line number Diff line Loading @@ -323,5 +323,6 @@ public class SecureSettings { Settings.Secure.HDR_BRIGHTNESS_BOOST_LEVEL, Settings.Secure.IDENTITY_CHECK_ENABLED_V1, Settings.Secure.IDENTITY_CHECK_PROMO_CARD_SHOWN, Settings.Secure.IDENTITY_CHECK_NOTIFICATION_VIEW_DETAILS_CLICKED, }; }
packages/SettingsProvider/src/android/provider/settings/validators/SecureSettingsValidators.java +2 −0 Original line number Diff line number Diff line Loading @@ -518,5 +518,7 @@ public class SecureSettingsValidators { VALIDATORS.put(Secure.IDENTITY_CHECK_ENABLED_V1, new InclusiveIntegerRangeValidator(0, 1)); VALIDATORS.put(Secure.IDENTITY_CHECK_PROMO_CARD_SHOWN, new InclusiveIntegerRangeValidator(0, 1)); VALIDATORS.put(Secure.IDENTITY_CHECK_NOTIFICATION_VIEW_DETAILS_CLICKED, new InclusiveIntegerRangeValidator(0, 1)); } }