diff --git a/fingerprint/shims/SensorPropsShim.cpp b/fingerprint/shims/SensorPropsShim.cpp index 89f0dda..c5ca8ba 100644 --- a/fingerprint/shims/SensorPropsShim.cpp +++ b/fingerprint/shims/SensorPropsShim.cpp @@ -61,6 +61,10 @@ SensorProps SensorPropsInit(SensorProps props) { } } + props.halHandlesDisplayTouches = + props.sensorType == FingerprintSensorType::UNDER_DISPLAY_OPTICAL || + props.sensorType == FingerprintSensorType::UNDER_DISPLAY_ULTRASONIC; + return props; } } // anonymous namespace