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

Commit 818a03bc authored by Joshua Mccloskey's avatar Joshua Mccloskey Committed by Automerger Merge Worker
Browse files

Merge "ResetLockoutClients cancel preceding clients." into tm-dev am: fa8e422f

parents f4d5e638 fa8e422f
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -88,6 +88,10 @@ public class FaceResetLockoutClient extends HalClientMonitor<AidlSession> implem
        mCallback.onClientFinished(this, true /* success */);
    }

    public boolean interruptsPrecedingClients() {
        return true;
    }

    /**
     * Reset the local lockout state and notify any listeners.
     *
+4 −0
Original line number Diff line number Diff line
@@ -65,6 +65,10 @@ public class FaceResetLockoutClient extends HalClientMonitor<IBiometricsFace> {
        startHalOperation();
    }

    public boolean interruptsPrecedingClients() {
        return true;
    }

    @Override
    protected void startHalOperation() {
        try {
+4 −0
Original line number Diff line number Diff line
@@ -82,6 +82,10 @@ class FingerprintResetLockoutClient extends HalClientMonitor<AidlSession> implem
        }
    }

    public boolean interruptsPrecedingClients() {
        return true;
    }

    void onLockoutCleared() {
        resetLocalLockoutStateToNone(getSensorId(), getTargetUserId(), mLockoutCache,
                mLockoutResetDispatcher);
+4 −0
Original line number Diff line number Diff line
@@ -50,6 +50,10 @@ public class FingerprintResetLockoutClient extends BaseClientMonitor {
        callback.onClientFinished(this, true /* success */);
    }

    public boolean interruptsPrecedingClients() {
        return true;
    }

    @Override
    public int getProtoEnum() {
        return BiometricsProto.CM_RESET_LOCKOUT;