Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d4ee8af9 authored by Kevin Chyn's avatar Kevin Chyn
Browse files

Log authentication rejection

Bug: 130043912

Test: Both authenticate and reject logs seen now
Change-Id: I398c95a9c439575e126e710e16ed266c51c00122
parent dd07ae57
Loading
Loading
Loading
Loading
+8 −5
Original line number Diff line number Diff line
@@ -129,13 +129,16 @@ public abstract class AuthenticationClient extends ClientMonitor {
        boolean result = false;

        try {
            if (authenticated) {
                mAlreadyDone = true;
                if (DEBUG) Slog.v(getLogTag(), "onAuthenticated(" + getOwnerString()
            if (DEBUG) Slog.v(getLogTag(), "onAuthenticated(" + authenticated + ")"
                    + ", ID:" + identifier.getBiometricId()
                    + ", Owner: " + getOwnerString()
                    + ", isBP: " + isBiometricPrompt()
                    + ", listener: " + listener
                    + ", requireConfirmation: " + mRequireConfirmation);

            if (authenticated) {
                mAlreadyDone = true;

                if (listener != null) {
                    vibrateSuccess();
                }