2-1/ Add config_suw_support_face_enroll to customize SUW face enroll flow

1. Add config_suw_support_face_enroll default is TRUE
2. Impl FaceFeatureProvider to obtain the config
3. Overlay config_suw_support_face_enroll by requirements

Test: Flash build and manual check if device go through face enroll in SUW
Bug: 262469686
Change-Id: I61aa5c818bedfb490f2172a7481f59fda7295c1a
Merged-In: I61aa5c818bedfb490f2172a7481f59fda7295c1a
This commit is contained in:
lbill
2022-12-14 03:50:11 +00:00
parent 8e57808247
commit e05697fc65
4 changed files with 23 additions and 5 deletions

View File

@@ -22,4 +22,7 @@ import android.content.Context;
public interface FaceFeatureProvider {
/** Returns true if attention checking is supported. */
boolean isAttentionSupported(Context context);
/** Returns true if setup wizard supported face enrollment. */
boolean isSetupWizardSupported(Context context);
}