sm8350-common: udfps: Update vendorCodes
Change-Id: I39f37f278e39487c21d96e05ee331c4960d5e2be
This commit is contained in:
parent
5c97801789
commit
077d9235e0
@ -120,10 +120,11 @@ class XiaomiUdfpsHander : public UdfpsHandler {
|
|||||||
if (result == FINGERPRINT_ACQUIRED_GOOD) {
|
if (result == FINGERPRINT_ACQUIRED_GOOD) {
|
||||||
set(FOD_HBM_PATH, FOD_HBM_OFF);
|
set(FOD_HBM_PATH, FOD_HBM_OFF);
|
||||||
set(FOD_STATUS_PATH, FOD_STATUS_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 = 21 waiting for finger
|
||||||
* vendorCode = 23 waiting for fingerprint enroll
|
* vendorCode = 22 finger down
|
||||||
|
* vendorCode = 23 finger up
|
||||||
*/
|
*/
|
||||||
set(FOD_STATUS_PATH, FOD_STATUS_ON);
|
set(FOD_STATUS_PATH, FOD_STATUS_ON);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user