Fixed
Status Update
Comments
sp...@google.com <sp...@google.com>
ap...@google.com <ap...@google.com> #2
Looks like AndroidX tooling didn't catch this because it happened prior to migrating the development workflow to AndroidX. Should be avoidable in the future since we have API files checked in for 1.1.0
, but for now this will need to be fixed and we'll want to do whatever we can to mitigate the breakage in the released artifact.
Description
- Device type: Pixel 6a
- OS version: 15
- Biometric library version: biometric:1.1.0
STEPS TO REPRODUCE
[Be as specific as possible please]
Device configuration
1. enroll a fingerprint
2. turn off "Verify it's you in Apps" switch
App error 1:
3. Call BiometricPrompt.authenticate method
4. log errorCode in the onAuthenticationError(int errorCode, CharSequence errString) {...} method
App error 2:
5. call method biometricManager.canAuthenticate(BIOMETRIC_STRONG) and log returned value
EXPECTED RESULTS
error 1:
Android 15 should log same error code as android <=14: error code 1 (ERROR_HW_UNAVAILABLE)
error 2:
Android 15 should log same error code as android <=14: error code 1 (BIOMETRIC_ERROR_HW_UNAVAILABLE)
OBSERVED RESULTS
error 1:
Android 15 logs error code 8: (ERROR_VENDOR)
error 2:
Android 15 logs error code 21: (Not found in docs)
NUMBER OF TIMES YOU WERE ABLE TO REPRODUCE (e.g. 3/10)
10/10