Fixed
Status Update
Comments
cu...@google.com <cu...@google.com>
ap...@google.com <ap...@google.com> #2
Project: platform/frameworks/support
Branch: androidx-master-dev
commit 86099342fd081849e9dcdccff21b5b42ca18b57b
Author: Curtis Belmonte <curtislb@google.com>
Date: Mon Sep 14 16:21:09 2020
Fix CryptoObject type in BiometricManager reflective call
Ensures that an android.hardware.biometrics.BiometricPrompt.CryptoObject
is passed to the BiometricManager#canAuthenticate(CryptoObject) non-API
method, instead of androidx.biometric.BiometricPrompt.CryptoObject. Also
adds IllegalArgumentException to the list of handled exceptions for this
reflective invocation, to avoid crashing on a device with a different
method signature (since it's not part of the public Android API).
Test: Biometric integration test app on Samsung device with API 29.
Fixes: 165824669
Change-Id: I550d06679610ed423e8a4362a738f6ae4ff49279
M biometric/biometric/src/main/java/androidx/biometric/BiometricManager.java
https://android-review.googlesource.com/1427353
Branch: androidx-master-dev
commit 86099342fd081849e9dcdccff21b5b42ca18b57b
Author: Curtis Belmonte <curtislb@google.com>
Date: Mon Sep 14 16:21:09 2020
Fix CryptoObject type in BiometricManager reflective call
Ensures that an android.hardware.biometrics.BiometricPrompt.CryptoObject
is passed to the BiometricManager#canAuthenticate(CryptoObject) non-API
method, instead of androidx.biometric.BiometricPrompt.CryptoObject. Also
adds IllegalArgumentException to the list of handled exceptions for this
reflective invocation, to avoid crashing on a device with a different
method signature (since it's not part of the public Android API).
Test: Biometric integration test app on Samsung device with API 29.
Fixes: 165824669
Change-Id: I550d06679610ed423e8a4362a738f6ae4ff49279
M biometric/biometric/src/main/java/androidx/biometric/BiometricManager.java
Description
BUILD INFO
STEPS TO REPRODUCE [Be as specific as possible please]
EXPECTED RESULTS App should not crash
OBSERVED RESULTS App crashes with stack trace:
NUMBER OF TIMES YOU WERE ABLE TO REPRODUCE (e.g. 3/10) 10/10