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

Commit d14099d2 authored by Kevin Chyn's avatar Kevin Chyn
Browse files

Unhide several Fingerprint APIs

Test: make -j && make update-api -j && make checkbuild -j

Change-Id: I2b0f42c2d69108bca3f64b431b46e093fc28976f
Fixes: 38266711
parent 79385ec3
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -15823,9 +15823,12 @@ package android.hardware.fingerprint {
    field public static final int FINGERPRINT_ERROR_CANCELED = 5; // 0x5
    field public static final int FINGERPRINT_ERROR_HW_UNAVAILABLE = 1; // 0x1
    field public static final int FINGERPRINT_ERROR_LOCKOUT = 7; // 0x7
    field public static final int FINGERPRINT_ERROR_LOCKOUT_PERMANENT = 9; // 0x9
    field public static final int FINGERPRINT_ERROR_NO_SPACE = 4; // 0x4
    field public static final int FINGERPRINT_ERROR_TIMEOUT = 3; // 0x3
    field public static final int FINGERPRINT_ERROR_UNABLE_TO_PROCESS = 2; // 0x2
    field public static final int FINGERPRINT_ERROR_UNABLE_TO_REMOVE = 6; // 0x6
    field public static final int FINGERPRINT_ERROR_VENDOR = 8; // 0x8
  }
  public static abstract class FingerprintManager.AuthenticationCallback {
+3 −0
Original line number Diff line number Diff line
@@ -16629,9 +16629,12 @@ package android.hardware.fingerprint {
    field public static final int FINGERPRINT_ERROR_CANCELED = 5; // 0x5
    field public static final int FINGERPRINT_ERROR_HW_UNAVAILABLE = 1; // 0x1
    field public static final int FINGERPRINT_ERROR_LOCKOUT = 7; // 0x7
    field public static final int FINGERPRINT_ERROR_LOCKOUT_PERMANENT = 9; // 0x9
    field public static final int FINGERPRINT_ERROR_NO_SPACE = 4; // 0x4
    field public static final int FINGERPRINT_ERROR_TIMEOUT = 3; // 0x3
    field public static final int FINGERPRINT_ERROR_UNABLE_TO_PROCESS = 2; // 0x2
    field public static final int FINGERPRINT_ERROR_UNABLE_TO_REMOVE = 6; // 0x6
    field public static final int FINGERPRINT_ERROR_VENDOR = 8; // 0x8
  }
  public static abstract class FingerprintManager.AuthenticationCallback {
+3 −0
Original line number Diff line number Diff line
@@ -15875,9 +15875,12 @@ package android.hardware.fingerprint {
    field public static final int FINGERPRINT_ERROR_CANCELED = 5; // 0x5
    field public static final int FINGERPRINT_ERROR_HW_UNAVAILABLE = 1; // 0x1
    field public static final int FINGERPRINT_ERROR_LOCKOUT = 7; // 0x7
    field public static final int FINGERPRINT_ERROR_LOCKOUT_PERMANENT = 9; // 0x9
    field public static final int FINGERPRINT_ERROR_NO_SPACE = 4; // 0x4
    field public static final int FINGERPRINT_ERROR_TIMEOUT = 3; // 0x3
    field public static final int FINGERPRINT_ERROR_UNABLE_TO_PROCESS = 2; // 0x2
    field public static final int FINGERPRINT_ERROR_UNABLE_TO_REMOVE = 6; // 0x6
    field public static final int FINGERPRINT_ERROR_VENDOR = 8; // 0x8
  }
  public static abstract class FingerprintManager.AuthenticationCallback {
+0 −4
Original line number Diff line number Diff line
@@ -99,8 +99,6 @@ public class FingerprintManager {
    /**
     * The {@link FingerprintManager#remove} call failed. Typically this will happen when the
     * provided fingerprint id was incorrect.
     *
     * @hide
     */
    public static final int FINGERPRINT_ERROR_UNABLE_TO_REMOVE = 6;

@@ -112,7 +110,6 @@ public class FingerprintManager {
    /**
     * Hardware vendors may extend this list if there are conditions that do not fall under one of
     * the above categories. Vendors are responsible for providing error strings for these errors.
     * @hide
     */
    public static final int FINGERPRINT_ERROR_VENDOR = 8;

@@ -120,7 +117,6 @@ public class FingerprintManager {
     * The operation was canceled because FINGERPRINT_ERROR_LOCKOUT occurred too many times.
     * Fingerprint authentication is disabled until the user unlocks with strong authentication
     * (PIN/Pattern/Password)
     * @hide
     */
    public static final int FINGERPRINT_ERROR_LOCKOUT_PERMANENT = 9;