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

Commit 2c712ace authored by joshmccloskey's avatar joshmccloskey Committed by android-build-merger
Browse files

Added secure setting for face re enrollment.

am: cfc62151

Change-Id: If3ed42ee2cebd112a5d243eab516f25dc3946e92
parents 17af0854 cfc62151
Loading
Loading
Loading
Loading
+13 −0
Original line number Diff line number Diff line
@@ -8361,6 +8361,19 @@ public final class Settings {
        private static final Validator FACE_UNLOCK_ALWAYS_REQUIRE_CONFIRMATION_VALIDATOR =
                BOOLEAN_VALIDATOR;
        /**
         * Whether or not a user should re enroll their face.
         *
         * Face unlock re enroll.
         *  0 = No re enrollment.
         *  1 = Re enrollment is suggested.
         *  2 = Re enrollment is required after a set time period.
         *  3 = Re enrollment is required immediately.
         *
         * @hide
         */
        public static final String FACE_UNLOCK_RE_ENROLL = "face_unlock_re_enroll";
        /**
         * Whether or not debugging is enabled.
         * @hide
+2 −1
Original line number Diff line number Diff line
@@ -722,7 +722,8 @@ public class SettingsBackupTest {
                 Settings.Secure.LOCATION_ACCESS_CHECK_DELAY_MILLIS,
                 Settings.Secure.BIOMETRIC_DEBUG_ENABLED,
                 Settings.Secure.FACE_UNLOCK_ATTENTION_REQUIRED,
                 Settings.Secure.FACE_UNLOCK_DIVERSITY_REQUIRED);
                 Settings.Secure.FACE_UNLOCK_DIVERSITY_REQUIRED,
                 Settings.Secure.FACE_UNLOCK_RE_ENROLL);

    @Test
    public void systemSettingsBackedUpOrBlacklisted() {