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

Commit c719e8e5 authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Making BiometricEnrollmentStatus constructor public." into main

parents 8a508fbc 747e3788
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -5171,6 +5171,7 @@ package android.hardware {
package android.hardware.biometrics {
  @FlaggedApi("android.hardware.biometrics.move_fm_api_to_bm") public final class BiometricEnrollmentStatus {
    ctor public BiometricEnrollmentStatus(int, int);
    method @IntRange(from=0) public int getEnrollmentCount();
    method public int getStrength();
  }
+5 −1
Original line number Diff line number Diff line
@@ -35,7 +35,11 @@ public final class BiometricEnrollmentStatus {
    private final int mEnrollmentCount;

    /**
     * @hide
     * Constructs a new {@link BiometricEnrollmentStatus} object.
     *
     * @param strength        The biometric strength type, as defined by
     *                        {@link BiometricManager.Authenticators.Types}.
     * @param enrollmentCount The number of biometric currently enrolled.
     */
    public BiometricEnrollmentStatus(@BiometricManager.Authenticators.Types int strength,
            int enrollmentCount) {