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

Commit 0d4ace01 authored by Kevin Chyn's avatar Kevin Chyn
Browse files

Add TOO_DARK and TOO_BRIGHT to AcquiredInfo

Fixes: 169186958
Test: make -j android.hardware.biometrics.fingerprint-update-api
Change-Id: If12088b65b4defe5c83fed2f118d437075789632
parent 69fff4b8
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -27,4 +27,6 @@ enum AcquiredInfo {
  TOO_FAST = 5,
  VENDOR = 6,
  START = 7,
  TOO_DARK = 8,
  TOO_BRIGHT = 9,
}
+12 −0
Original line number Diff line number Diff line
@@ -63,5 +63,17 @@ enum AcquiredInfo {
     * latency based on the time between the last START message and the onAuthenticated callback.
     */
    START,

    /**
     * For sensors that require illumination, such as optical under-display fingerprint sensors,
     * the image was too dark to be used for matching.
     */
    TOO_DARK,

    /**
     * For sensors that require illumination, such as optical under-display fingerprint sensors,
     * the image was too bright to be used for matching.
     */
    TOO_BRIGHT,
}