Log authentication rejection

Bug: 130043912

Test: Both authenticate and reject logs seen now
Change-Id: I398c95a9c439575e126e710e16ed266c51c00122
This commit is contained in:
Kevin Chyn
2019-04-09 12:10:11 -07:00
parent dd07ae579c
commit d4ee8af987

View File

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