Update framework with IFace getSensorConfig

Bug: 183738533
Test: atest CtsBiometricsTestCases
Change-Id: I95f10b133c62e4cda680bba925ec1c956f636b7f
This commit is contained in:
Ilya Matyukhin
2021-04-22 01:21:27 -07:00
parent 7804da16f5
commit ce09e187f6

View File

@@ -17,6 +17,7 @@
package com.android.server.biometrics.sensors.face.aidl;
import android.hardware.biometrics.common.ICancellationSignal;
import android.hardware.biometrics.face.EnrollmentStageConfig;
import android.hardware.biometrics.face.Error;
import android.hardware.biometrics.face.IFace;
import android.hardware.biometrics.face.ISession;
@@ -56,6 +57,11 @@ public class TestHal extends IFace.Stub {
cb.onChallengeRevoked(challenge);
}
@Override
public EnrollmentStageConfig[] getEnrollmentConfig(byte enrollmentType) {
return new EnrollmentStageConfig[0];
}
@Override
public ICancellationSignal enroll(HardwareAuthToken hat,
byte enrollmentType, byte[] features, NativeHandle previewSurface) {