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

Commit 7acebc18 authored by Grace Cheng's avatar Grace Cheng Committed by Automerger Merge Worker
Browse files

Implement SFPS “require screen on to auth” am: 584c7743

parents 373b3e5a 584c7743
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -918,7 +918,6 @@ public class FingerprintManager implements BiometricAuthenticator, BiometricFing
        }
    }


    /**
     * Forwards BiometricStateListener to FingerprintService
     * @param listener new BiometricStateListener being added
+7 −0
Original line number Diff line number Diff line
@@ -9792,6 +9792,13 @@ public final class Settings {
        public static final String FINGERPRINT_SIDE_FPS_AUTH_DOWNTIME =
                "fingerprint_side_fps_auth_downtime";
        /**
         * Whether or not a SFPS device is required to be interactive for auth to unlock the device.
         * @hide
         */
        public static final String SFPS_REQUIRE_SCREEN_ON_TO_AUTH_ENABLED =
                "sfps_require_screen_on_to_auth_enabled";
        /**
         * Whether or not debugging is enabled.
         * @hide
+4 −0
Original line number Diff line number Diff line
@@ -4924,6 +4924,10 @@
    <!-- If face auth sends the user directly to home/last open app, or stays on keyguard -->
    <bool name="config_faceAuthDismissesKeyguard">true</bool>

    <!-- Default value for whether a SFPS device is required to be interactive for fingerprint auth
    to unlock the device.  -->
    <bool name="config_requireScreenOnToAuthEnabled">false</bool>

    <!-- The component name for the default profile supervisor, which can be set as a profile owner
    even after user setup is complete. The defined component should be used for supervision purposes
    only. The component must be part of a system app. -->
+1 −0
Original line number Diff line number Diff line
@@ -2712,6 +2712,7 @@
  <java-symbol type="array" name="config_face_acquire_vendor_biometricprompt_ignorelist" />
  <java-symbol type="bool" name="config_faceAuthSupportsSelfIllumination" />
  <java-symbol type="bool" name="config_faceAuthDismissesKeyguard" />
  <java-symbol type="bool" name="config_requireScreenOnToAuthEnabled" />

  <!-- Face config -->
  <java-symbol type="integer" name="config_faceMaxTemplatesPerUser" />
+1 −0
Original line number Diff line number Diff line
@@ -122,6 +122,7 @@ public class SecureSettings {
        Settings.Secure.FINGERPRINT_SIDE_FPS_BP_POWER_WINDOW,
        Settings.Secure.FINGERPRINT_SIDE_FPS_ENROLL_TAP_WINDOW,
        Settings.Secure.FINGERPRINT_SIDE_FPS_AUTH_DOWNTIME,
        Settings.Secure.SFPS_REQUIRE_SCREEN_ON_TO_AUTH_ENABLED,
        Settings.Secure.ACTIVE_UNLOCK_ON_WAKE,
        Settings.Secure.ACTIVE_UNLOCK_ON_UNLOCK_INTENT,
        Settings.Secure.ACTIVE_UNLOCK_ON_BIOMETRIC_FAIL,
Loading