diff --git a/biometrics/fingerprint/aidl/aidl_api/android.hardware.biometrics.fingerprint/current/android/hardware/biometrics/fingerprint/SensorProps.aidl b/biometrics/fingerprint/aidl/aidl_api/android.hardware.biometrics.fingerprint/current/android/hardware/biometrics/fingerprint/SensorProps.aidl index c7a4002c11..782d2899d3 100644 --- a/biometrics/fingerprint/aidl/aidl_api/android.hardware.biometrics.fingerprint/current/android/hardware/biometrics/fingerprint/SensorProps.aidl +++ b/biometrics/fingerprint/aidl/aidl_api/android.hardware.biometrics.fingerprint/current/android/hardware/biometrics/fingerprint/SensorProps.aidl @@ -39,4 +39,6 @@ parcelable SensorProps { android.hardware.biometrics.fingerprint.SensorLocation[] sensorLocations; boolean supportsNavigationGestures; boolean supportsDetectInteraction; + boolean halHandlesDisplayTouches; + boolean halControlsIllumination; } diff --git a/biometrics/fingerprint/aidl/android/hardware/biometrics/fingerprint/SensorProps.aidl b/biometrics/fingerprint/aidl/android/hardware/biometrics/fingerprint/SensorProps.aidl index fd2cf47d9e..fb516da51e 100644 --- a/biometrics/fingerprint/aidl/android/hardware/biometrics/fingerprint/SensorProps.aidl +++ b/biometrics/fingerprint/aidl/android/hardware/biometrics/fingerprint/SensorProps.aidl @@ -48,4 +48,26 @@ parcelable SensorProps { * Specifies whether or not the implementation supports ISession#detectInteraction. */ boolean supportsDetectInteraction; + + /** + * Whether the HAL is responsible for detecting and processing of display touches. This is only + * applicable to under-display fingerprint sensors (UDFPS). If the value is false, the framework + * will be responsible for handling the display touch events and passing them down to the HAL by + * using ISession#onPointerDown and ISession#onPointerUp. If the value is true, the framework + * will not notify the HAL about touch events. + * + * This value must be ignored for non-UDFPS sensors. + */ + boolean halHandlesDisplayTouches; + + /** + * Whether the HAL is responsible for fingerprint illumination, for example through enabling the + * display's high-brightness mode. This is only applicable to optical under-display fingerprint + * sensors (optical UDFPS). If the value is false, the framework will be responsible for + * illuminating the finger and reporting ISession#onUiReady. If the value is true, the framework + * will not illuminate the finger and will not report ISession#onUiReady. + * + * This value must be ignored for sensors that aren't optical UDFPS. + */ + boolean halControlsIllumination; }