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

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

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

parents ef8deffa 2a184634
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -20284,6 +20284,16 @@ public final class Settings {
        public static final String GLOBAL_ACTIONS_TIMEOUT_MILLIS =
                "global_actions_timeout_ms";
        /**
         * Tracks if the user has seen the promo card for Identity Check.
         * The promo card should only appear once per device via Safety Center.
         *
         * @hide
         */
        public static final String IDENTITY_CHECK_PROMO_CARD_SHOWN =
                "identity_check_promo_card_shown";
        /**
         * Settings migrated from Wear OS settings provider.
         * @hide
+1 −0
Original line number Diff line number Diff line
@@ -130,5 +130,6 @@ public class GlobalSettings {
        Settings.Global.REMOVE_GUEST_ON_EXIT,
        Settings.Global.USER_SWITCHER_ENABLED,
        Settings.Global.GLOBAL_ACTIONS_TIMEOUT_MILLIS,
        Settings.Global.IDENTITY_CHECK_PROMO_CARD_SHOWN,
    };
}
+2 −0
Original line number Diff line number Diff line
@@ -481,5 +481,7 @@ public class GlobalSettingsValidators {
        VALIDATORS.put(Global.Wearable.GESTURE_DISMISS_ACTION_USER_PREFERENCE, BOOLEAN_VALIDATOR);
        VALIDATORS.put(Global.Wearable.GESTURE_HINT_PERIOD_DAYS, ANY_INTEGER_VALIDATOR);
        VALIDATORS.put(Global.GLOBAL_ACTIONS_TIMEOUT_MILLIS, NON_NEGATIVE_INTEGER_VALIDATOR);
        VALIDATORS.put(Global.IDENTITY_CHECK_PROMO_CARD_SHOWN,
                new InclusiveIntegerRangeValidator(0, 1));
    }
}