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

Commit c7e33e5a authored by Wenhui Yang's avatar Wenhui Yang Committed by Android (Google) Code Review
Browse files

Merge "Change FRR thresholds for U-QPR1" into udc-qpr-dev

parents 70bccfaa c98f60b1
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -5342,7 +5342,7 @@
         fingerprint and face. If a dual-modality device only enrolled a single biometric and
         fingerprint and face. If a dual-modality device only enrolled a single biometric and
         experiences high FRR (above threshold), system notification will be sent to encourage user
         experiences high FRR (above threshold), system notification will be sent to encourage user
         to enroll the other eligible biometric. -->
         to enroll the other eligible biometric. -->
    <fraction name="config_biometricNotificationFrrThreshold">30%</fraction>
    <fraction name="config_biometricNotificationFrrThreshold">25%</fraction>


    <!-- The component name for the default profile supervisor, which can be set as a profile owner
    <!-- 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
    even after user setup is complete. The defined component should be used for supervision purposes
+2 −2
Original line number Original line Diff line number Diff line
@@ -45,12 +45,12 @@ public class AuthenticationStatsCollector {
    private static final String TAG = "AuthenticationStatsCollector";
    private static final String TAG = "AuthenticationStatsCollector";


    // The minimum number of attempts that will calculate the FRR and trigger the notification.
    // The minimum number of attempts that will calculate the FRR and trigger the notification.
    private static final int MINIMUM_ATTEMPTS = 500;
    private static final int MINIMUM_ATTEMPTS = 150;
    // Upload the data every 50 attempts (average number of daily authentications).
    // Upload the data every 50 attempts (average number of daily authentications).
    private static final int AUTHENTICATION_UPLOAD_INTERVAL = 50;
    private static final int AUTHENTICATION_UPLOAD_INTERVAL = 50;
    // The maximum number of eligible biometric enrollment notification can be sent.
    // The maximum number of eligible biometric enrollment notification can be sent.
    @VisibleForTesting
    @VisibleForTesting
    static final int MAXIMUM_ENROLLMENT_NOTIFICATIONS = 2;
    static final int MAXIMUM_ENROLLMENT_NOTIFICATIONS = 1;


    @NonNull private final Context mContext;
    @NonNull private final Context mContext;