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

Commit 36028c85 authored by Diya Bera's avatar Diya Bera Committed by Android (Google) Code Review
Browse files

Merge "[3/N] Identity Check Promo/Notification" into main

parents 0e1e27d7 f69e449c
Loading
Loading
Loading
Loading
+9 −1
Original line number Diff line number Diff line
@@ -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";
    }
    /**
+1 −0
Original line number Diff line number Diff line
@@ -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,
    };
}
+2 −0
Original line number Diff line number Diff line
@@ -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));
    }
}