Merge "Log authentication rejection" into qt-dev

This commit is contained in:
Kevin Chyn
2019-04-09 23:04:13 +00:00
committed by Android (Google) Code Review

View File

@@ -129,13 +129,16 @@ public abstract class AuthenticationClient extends ClientMonitor {
boolean result = false; boolean result = false;
try { try {
if (authenticated) { if (DEBUG) Slog.v(getLogTag(), "onAuthenticated(" + authenticated + ")"
mAlreadyDone = true;
if (DEBUG) Slog.v(getLogTag(), "onAuthenticated(" + getOwnerString()
+ ", ID:" + identifier.getBiometricId() + ", ID:" + identifier.getBiometricId()
+ ", Owner: " + getOwnerString()
+ ", isBP: " + isBiometricPrompt() + ", isBP: " + isBiometricPrompt()
+ ", listener: " + listener + ", listener: " + listener
+ ", requireConfirmation: " + mRequireConfirmation); + ", requireConfirmation: " + mRequireConfirmation);
if (authenticated) {
mAlreadyDone = true;
if (listener != null) { if (listener != null) {
vibrateSuccess(); vibrateSuccess();
} }