sm8350-common: udfps: Ensure fod_status is always enabled during enroll
Change-Id: Id4a51e4fd7421d57001e0d4384b03b2c2a2887ae
This commit is contained in:
parent
077d9235e0
commit
c5cb0e5f61
@ -109,11 +109,11 @@ class XiaomiUdfpsHander : public UdfpsHandler {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void onFingerDown(uint32_t /*x*/, uint32_t /*y*/, float /*minor*/, float /*major*/) {
|
void onFingerDown(uint32_t /*x*/, uint32_t /*y*/, float /*minor*/, float /*major*/) {
|
||||||
// nothing
|
set(FOD_STATUS_PATH, FOD_STATUS_ON);
|
||||||
}
|
}
|
||||||
|
|
||||||
void onFingerUp() {
|
void onFingerUp() {
|
||||||
// nothing
|
set(FOD_STATUS_PATH, FOD_STATUS_OFF);
|
||||||
}
|
}
|
||||||
|
|
||||||
void onAcquired(int32_t result, int32_t vendorCode) {
|
void onAcquired(int32_t result, int32_t vendorCode) {
|
||||||
|
Loading…
Reference in New Issue
Block a user