Fixed
Status Update
Comments
ca...@gmail.com <ca...@gmail.com> #2
A couple of questions:
1. Have you saw crash in real device or only in simulators?
2. Do you use dynamic feature for language ID?
1. Have you saw crash in real device or only in simulators?
2. Do you use dynamic feature for language ID?
cu...@google.com <cu...@google.com>
ap...@google.com <ap...@google.com> #3
Tested on Android 12 Emulator with custom executor, but cannot repro this issue.
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