Clean up FeatureFactory.getFeature()
Bug: 286764889 Test: m Settings Change-Id: I7e472e6b0ca6b7a735c1b92742ddf06c545176fc
This commit is contained in:
@@ -238,7 +238,7 @@ public class BiometricEnrollActivity extends InstrumentedActivity {
|
||||
if (parentalConsent && isMultiSensor && mIsFaceEnrollable) {
|
||||
// Exclude face enrollment from setup wizard if feature config not supported
|
||||
// in setup wizard flow, we still allow user enroll faces through settings.
|
||||
mIsFaceEnrollable = FeatureFactory.getFactory(getApplicationContext())
|
||||
mIsFaceEnrollable = FeatureFactory.getFeatureFactory()
|
||||
.getFaceFeatureProvider()
|
||||
.isSetupWizardSupported(getApplicationContext());
|
||||
Log.d(TAG, "config_suw_support_face_enroll: " + mIsFaceEnrollable);
|
||||
|
Reference in New Issue
Block a user