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

Commit a8f2ae3a authored by Ilya Matyukhin's avatar Ilya Matyukhin Committed by Automerger Merge Worker
Browse files

Merge "Update IFace TestHal with close and reset methods" into sc-dev am: 98fbf435

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13617982

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I76a2057b05da8b78759038d1db47a35c1e22807b
parents a7c19ece 98fbf435
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -22,6 +22,7 @@ import android.hardware.biometrics.face.IFace;
import android.hardware.biometrics.face.ISession;
import android.hardware.biometrics.face.ISessionCallback;
import android.hardware.biometrics.face.SensorProps;
import android.hardware.biometrics.face.SessionState;
import android.hardware.common.NativeHandle;
import android.hardware.keymaster.HardwareAuthToken;
import android.os.RemoteException;
@@ -131,6 +132,15 @@ public class TestHal extends IFace.Stub {
                Slog.w(TAG, "resetLockout, cookie: " + cookie);
                cb.onLockoutCleared();
            }

            @Override
            public void close(int cookie) throws RemoteException {
                cb.onStateChanged(cookie, SessionState.CLOSED);
            }
        };
    }

    @Override
    public void reset() {
    }
}