hidl: biometrics: fingerprint: Fix UDFPS enrollment and authentication
- Without this screen would light up for just a few seconds, matching would be unreliable and often error out with GF_ERROR_ACQUIRED_IMAGER_DIRTY or GF_ERROR_TOO_FAST Change-Id: Ibc02d111224dc0921bf91c7b69330dcda2c7dc8f Signed-off-by: Omkar Chandorkar <gotenksIN@aospa.co>
This commit is contained in:
committed by
Wiktor Rudzki
parent
2aa98e1b97
commit
7db9651375
@@ -328,9 +328,11 @@ void BiometricsFingerprint::notify(const fingerprint_msg_t* msg) {
|
||||
if (thisPtr->mUdfpsHandler) {
|
||||
thisPtr->mUdfpsHandler->onAcquired(static_cast<int32_t>(result), vendorCode);
|
||||
}
|
||||
if (result != FingerprintAcquiredInfo::ACQUIRED_VENDOR) {
|
||||
if (!thisPtr->mClientCallback->onAcquired(devId, result, vendorCode).isOk()) {
|
||||
ALOGE("failed to invoke fingerprint onAcquired callback");
|
||||
}
|
||||
}
|
||||
} break;
|
||||
case FINGERPRINT_TEMPLATE_ENROLLING:
|
||||
ALOGD("onEnrollResult(fid=%d, gid=%d, rem=%d)", msg->data.enroll.finger.fid,
|
||||
|
||||
Reference in New Issue
Block a user