Merge "Update IFingerprint TestHal with close and reset methods" into sc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
4ca4f15979
@@ -22,6 +22,7 @@ import android.hardware.biometrics.fingerprint.IFingerprint;
|
||||
import android.hardware.biometrics.fingerprint.ISession;
|
||||
import android.hardware.biometrics.fingerprint.ISessionCallback;
|
||||
import android.hardware.biometrics.fingerprint.SensorProps;
|
||||
import android.hardware.biometrics.fingerprint.SessionState;
|
||||
import android.hardware.keymaster.HardwareAuthToken;
|
||||
import android.os.RemoteException;
|
||||
import android.util.Slog;
|
||||
@@ -118,6 +119,11 @@ public class TestHal extends IFingerprint.Stub {
|
||||
cb.onLockoutCleared();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void close(int cookie) throws RemoteException {
|
||||
cb.onStateChanged(cookie, SessionState.CLOSED);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onPointerDown(int pointerId, int x, int y, float minor, float major) {
|
||||
Slog.w(TAG, "onPointerDown");
|
||||
@@ -134,4 +140,9 @@ public class TestHal extends IFingerprint.Stub {
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
@Override
|
||||
public void reset() {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user