sm8350-common: udfps: Ensure fod_status is always enabled during enroll

Change-Id: Id4a51e4fd7421d57001e0d4384b03b2c2a2887ae
This commit is contained in:
FlowerSea0208 2024-09-26 06:18:52 +08:00
parent 077d9235e0
commit c5cb0e5f61

View File

@ -109,11 +109,11 @@ class XiaomiUdfpsHander : public UdfpsHandler {
}
void onFingerDown(uint32_t /*x*/, uint32_t /*y*/, float /*minor*/, float /*major*/) {
// nothing
set(FOD_STATUS_PATH, FOD_STATUS_ON);
}
void onFingerUp() {
// nothing
set(FOD_STATUS_PATH, FOD_STATUS_OFF);
}
void onAcquired(int32_t result, int32_t vendorCode) {