cepheus: 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> Signed-off-by: Skyblueborb <tomaszborbely0710@gmail.com>
This commit is contained in:
@@ -408,8 +408,10 @@ void BiometricsFingerprint::notify(const fingerprint_msg_t* msg) {
|
||||
set(DIMLAYER_HBM_PATH, DIMLAYER_HBM_OFF);
|
||||
set(FOD_STATUS_PATH, FOD_STATUS_OFF);
|
||||
}
|
||||
if (!thisPtr->mClientCallback->onAcquired(devId, result, vendorCode).isOk()) {
|
||||
ALOGE("failed to invoke fingerprint onAcquired callback");
|
||||
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:
|
||||
|
||||
Reference in New Issue
Block a user