Fixed
Status Update
Comments
sp...@google.com <sp...@google.com>
ap...@google.com <ap...@google.com> #2
Thanks for the detailed analysis and sample. I've prepared a CL, but I'd also be happy to review an external contribution since you already went through the trouble of identifying a fix. Just let me know here.
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