Fixed
Status Update
Comments
ca...@gmail.com <ca...@gmail.com> #2
Hi Ed, Thank you so much for these suggestions. I've been reviewing them and merging them in. Hopefully it should be live. I've included a thank you note too in the article.
cu...@google.com <cu...@google.com>
ap...@google.com <ap...@google.com> #3
Great! Thanks a lot, I'll look for the live updates soon!
an...@gmail.com <an...@gmail.com> #4
Comment has been deleted.
Description
If this is a bug in the library, we would appreciate if you could attach: This bug is reproducible when the device(without fingerprint feature) hasn't PIN-protected enable and you call
canAuthenticate()
method. It returns the statusBIOMETRIC_ERROR_NONE_ENROLLED
, but should returnBIOMETRIC_ERROR_NO_HARDWARE
.In case if PIN protect is enabled,
canAuthenticate
returnsBIOMETRIC_ERROR_NO_HARDWARE
It simply to fix. You should check first if the device has a Fingerprint feature before you check
mInjector.isDeviceSecuredWithCredential()
on line 376.BUILD INFO
STEPS TO REPRODUCE
EXPECTED RESULTS
BIOMETRIC_ERROR_NO_HARDWARE
OBSERVED RESULTS
BIOMETRIC_ERROR_NONE_ENROLLED
everytime