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

Commit 764e8588 authored by Eric Biggers's avatar Eric Biggers
Browse files

Log VerifyCredentialResponse instead of response code

Make BiometricDeferredQueue#requestHatFromGatekeeperPassword() log the
VerifyCredentialResponse via its toString() method, rather than
retrieving the response code and logging that.  This is in preparation
for removing direct access to the response code.

Bug: 423038471
Test: atest FrameworksServicesTests:com.android.server.locksettings
Flag: EXEMPT refactor
Change-Id: Ic361128a3d43e874d86e35283dc7524ae08ceadc
parent 36470ad5
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -301,8 +301,7 @@ public class BiometricDeferredQueue {
            return null;
        }
        if (!response.isMatched()) {
            Slog.wtf(TAG, "VerifyChallenge failed, response: "
                    + response.getResponseCode());
            Slog.wtf(TAG, "VerifyChallenge failed: " + response);
            return null;
        }
        if (response.getGatekeeperHAT() == null) {