diff --git a/biometrics/fingerprint/aidl/aidl_api/android.hardware.biometrics.fingerprint/current/android/hardware/biometrics/fingerprint/AcquiredInfo.aidl b/biometrics/fingerprint/aidl/aidl_api/android.hardware.biometrics.fingerprint/current/android/hardware/biometrics/fingerprint/AcquiredInfo.aidl index 89f76f437b..7075f715fd 100644 --- a/biometrics/fingerprint/aidl/aidl_api/android.hardware.biometrics.fingerprint/current/android/hardware/biometrics/fingerprint/AcquiredInfo.aidl +++ b/biometrics/fingerprint/aidl/aidl_api/android.hardware.biometrics.fingerprint/current/android/hardware/biometrics/fingerprint/AcquiredInfo.aidl @@ -49,4 +49,5 @@ enum AcquiredInfo { IMMOBILE, RETRYING_CAPTURE, LIFT_TOO_SOON, + POWER_PRESS, } diff --git a/biometrics/fingerprint/aidl/aidl_api/android.hardware.biometrics.fingerprint/current/android/hardware/biometrics/fingerprint/Error.aidl b/biometrics/fingerprint/aidl/aidl_api/android.hardware.biometrics.fingerprint/current/android/hardware/biometrics/fingerprint/Error.aidl index d3592a1f09..9eeaac53ec 100644 --- a/biometrics/fingerprint/aidl/aidl_api/android.hardware.biometrics.fingerprint/current/android/hardware/biometrics/fingerprint/Error.aidl +++ b/biometrics/fingerprint/aidl/aidl_api/android.hardware.biometrics.fingerprint/current/android/hardware/biometrics/fingerprint/Error.aidl @@ -44,4 +44,5 @@ enum Error { UNABLE_TO_REMOVE, VENDOR, BAD_CALIBRATION, + POWER_PRESS, } diff --git a/biometrics/fingerprint/aidl/android/hardware/biometrics/fingerprint/AcquiredInfo.aidl b/biometrics/fingerprint/aidl/android/hardware/biometrics/fingerprint/AcquiredInfo.aidl index 2cdc196f41..41b7c5e0bf 100644 --- a/biometrics/fingerprint/aidl/android/hardware/biometrics/fingerprint/AcquiredInfo.aidl +++ b/biometrics/fingerprint/aidl/android/hardware/biometrics/fingerprint/AcquiredInfo.aidl @@ -103,4 +103,10 @@ enum AcquiredInfo { * Fingerprint was lifted before the capture completed. */ LIFT_TOO_SOON, + + /** + * Indicates a power press event has occurred. This is typically sent by fingerprint + * sensors that have the sensor co-located with the power button. + */ + POWER_PRESS, } diff --git a/biometrics/fingerprint/aidl/android/hardware/biometrics/fingerprint/Error.aidl b/biometrics/fingerprint/aidl/android/hardware/biometrics/fingerprint/Error.aidl index d8d47fa8a0..39a5676fe1 100644 --- a/biometrics/fingerprint/aidl/android/hardware/biometrics/fingerprint/Error.aidl +++ b/biometrics/fingerprint/aidl/android/hardware/biometrics/fingerprint/Error.aidl @@ -70,4 +70,10 @@ enum Error { * There's a problem with the sensor's calibration. */ BAD_CALIBRATION, + + /** + * Indicates a power press event has occurred. This is typically sent by fingerprint + * sensors that have the sensor co-located with the power button. + */ + POWER_PRESS, }