Change-Id: I06d9aab53f3cd900247ca23b83eaff79dccecf46
LOCAL_CFLAGS += -DREQUEST_FORCE_CALIBRATE
endif
+ifeq ($(TARGET_SEC_FP_REQUEST_TOUCH_EVENT),true)
+ LOCAL_CFLAGS += -DREQUEST_TOUCH_EVENT
+endif
+
LOCAL_MODULE := android.hardware.biometrics.fingerprint@2.3-service.samsung
LOCAL_INIT_RC := android.hardware.biometrics.fingerprint@2.3-service.samsung.rc
LOCAL_VINTF_FRAGMENTS := android.hardware.biometrics.fingerprint@2.3-service.samsung.xml
}
Return<void> BiometricsFingerprint::onFingerDown(uint32_t, uint32_t, float, float) {
+#ifdef REQUEST_TOUCH_EVENT
+ request(SEM_REQUEST_TOUCH_EVENT, 2);
+#endif
return Void();
}
Return<void> BiometricsFingerprint::onFingerUp() {
+#ifdef REQUEST_TOUCH_EVENT
+ request(SEM_REQUEST_TOUCH_EVENT, 1);
+#endif
return Void();
}