Merge "Add logs when addAuthToken is invoked" into sc-dev
This commit is contained in:
@@ -645,7 +645,8 @@ public final class AuthSession implements IBinder.DeathRecipient {
|
|||||||
case BiometricPrompt.DISMISSED_REASON_BIOMETRIC_CONFIRMED:
|
case BiometricPrompt.DISMISSED_REASON_BIOMETRIC_CONFIRMED:
|
||||||
case BiometricPrompt.DISMISSED_REASON_BIOMETRIC_CONFIRM_NOT_REQUIRED:
|
case BiometricPrompt.DISMISSED_REASON_BIOMETRIC_CONFIRM_NOT_REQUIRED:
|
||||||
if (mTokenEscrow != null) {
|
if (mTokenEscrow != null) {
|
||||||
mKeyStore.addAuthToken(mTokenEscrow);
|
final int result = mKeyStore.addAuthToken(mTokenEscrow);
|
||||||
|
Slog.d(TAG, "addAuthToken: " + result);
|
||||||
} else {
|
} else {
|
||||||
Slog.e(TAG, "mTokenEscrow is null");
|
Slog.e(TAG, "mTokenEscrow is null");
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -229,7 +229,8 @@ public abstract class AuthenticationClient<T> extends AcquisitionClient<T>
|
|||||||
getTargetUserId(), mIsStrongBiometric);
|
getTargetUserId(), mIsStrongBiometric);
|
||||||
} else if (!isBiometricPrompt() && listener != null) {
|
} else if (!isBiometricPrompt() && listener != null) {
|
||||||
if (mIsStrongBiometric) {
|
if (mIsStrongBiometric) {
|
||||||
KeyStore.getInstance().addAuthToken(byteToken);
|
final int result = KeyStore.getInstance().addAuthToken(byteToken);
|
||||||
|
Slog.d(TAG, "addAuthToken: " + result);
|
||||||
} else {
|
} else {
|
||||||
Slog.d(TAG, "Skipping addAuthToken");
|
Slog.d(TAG, "Skipping addAuthToken");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user