fingerprint pre-enroll calibration

Add calibration interface and dialog

Test: Manually doing enrollment without any exception
Bug: 301226085
Change-Id: Ibe0d205e87f75bb1d5bd1c646deb8501d96a4a5a
This commit is contained in:
MiltonWu
2023-10-11 08:13:14 +00:00
parent c5f2ce6f25
commit 3550029297
8 changed files with 235 additions and 14 deletions

View File

@@ -16,12 +16,24 @@
package com.android.settings.biometrics.fingerprint;
import androidx.annotation.Nullable;
import com.android.settings.biometrics.fingerprint.feature.SfpsEnrollmentFeature;
import java.util.UUID;
public interface FingerprintFeatureProvider {
/**
* Gets the feature implementation of SFPS enrollment.
* @return the feature implementation
*/
SfpsEnrollmentFeature getSfpsEnrollmentFeature();
/**
* Gets calibrator to calibrate the FPS before enrolling udfps
* @param uuid unique id for passed between different activities
* @return udfps calibrator
*/
@Nullable
UdfpsEnrollCalibrator getUdfpsEnrollCalibrator(@Nullable UUID uuid);
}