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

Commit e491de2d authored by Joshua Mccloskey's avatar Joshua Mccloskey Committed by Android (Google) Code Review
Browse files

Merge "Changed session coordinator clock"

parents 664537e6 df3d625e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -54,7 +54,7 @@ public class AuthSessionCoordinator implements AuthSessionListener {
    private AuthResultCoordinator mAuthResultCoordinator;

    public AuthSessionCoordinator() {
        this(SystemClock.currentNetworkTimeClock());
        this(SystemClock.elapsedRealtimeClock());
    }

    @VisibleForTesting
+0 −5
Original line number Diff line number Diff line
@@ -22,7 +22,6 @@ import static android.hardware.biometrics.BiometricManager.Authenticators.BIOMET
import static android.hardware.biometrics.BiometricManager.Authenticators.BIOMETRIC_WEAK;

import android.hardware.biometrics.BiometricManager;
import android.os.SystemClock;
import android.util.Slog;

import java.time.Clock;
@@ -43,10 +42,6 @@ class MultiBiometricLockoutState {
    private final Map<Integer, Map<Integer, AuthenticatorState>> mCanUserAuthenticate;
    private final Clock mClock;

    MultiBiometricLockoutState() {
        this(SystemClock.currentNetworkTimeClock());
    }

    MultiBiometricLockoutState(Clock clock) {
        mCanUserAuthenticate = new HashMap<>();
        mClock = clock;