sm8350-common: udfps: Update vendorCodes

Change-Id: I39f37f278e39487c21d96e05ee331c4960d5e2be
This commit is contained in:
Arian 2024-03-14 13:38:56 +01:00 committed by FlowerSea0208
parent 5c97801789
commit 077d9235e0

View File

@ -120,10 +120,11 @@ class XiaomiUdfpsHander : public UdfpsHandler {
if (result == FINGERPRINT_ACQUIRED_GOOD) {
set(FOD_HBM_PATH, FOD_HBM_OFF);
set(FOD_STATUS_PATH, FOD_STATUS_OFF);
} else if (vendorCode == 21 || vendorCode == 23) {
} else if (vendorCode == 21) {
/*
* vendorCode = 21 waiting for fingerprint authentication
* vendorCode = 23 waiting for fingerprint enroll
* vendorCode = 21 waiting for finger
* vendorCode = 22 finger down
* vendorCode = 23 finger up
*/
set(FOD_STATUS_PATH, FOD_STATUS_ON);
}