Add debugReason to BiometricUtils#tryStartingNextBiometricEnroll

Bug: 196060286
Test: adb shell am start -a android.settings.BIOMETRIC_ENROLL
Change-Id: Ib157dd916b1cfd2238cf6844a970d70cbf56faa6
This commit is contained in:
Kevin Chyn
2021-08-11 16:31:36 -07:00
parent 4d8e7b1053
commit 715e337af8
3 changed files with 13 additions and 6 deletions

View File

@@ -244,7 +244,9 @@ public class BiometricUtils {
* @return true if the next enrollment was started
*/
public static boolean tryStartingNextBiometricEnroll(@NonNull Activity activity,
int requestCode) {
int requestCode, String debugReason) {
Log.d(TAG, "tryStartingNextBiometricEnroll, debugReason: " + debugReason);
final PendingIntent pendingIntent = (PendingIntent) activity.getIntent()
.getExtra(MultiBiometricEnrollHelper.EXTRA_ENROLL_AFTER_FACE);
if (pendingIntent != null) {