msm8937-common: biometrics: Fix random crashes

Add a slight delay before passing authenticator id to frameworks.
This commit is contained in:
Alex Yustasov 2017-12-08 07:11:43 +03:00 committed by Isaac Chen
parent 46fe437546
commit 64948b0418

View file

@ -181,6 +181,7 @@ Return<RequestStatus> BiometricsFingerprint::postEnroll() {
}
Return<uint64_t> BiometricsFingerprint::getAuthenticatorId() {
usleep(140000);
return mDevice->get_authenticator_id(mDevice);
}