Added Face Enroll Education Screen
Test: Builds Bug: 131774352 Fixes: 131857742 Change-Id: Ib384b9efaf053b405ce3f55e449dd6abb9e75296
This commit is contained in:
committed by
Joshua Mccloskey
parent
ac653b9838
commit
0458262fb3
@@ -18,11 +18,9 @@ package com.android.settings.biometrics.face;
|
||||
|
||||
import android.app.admin.DevicePolicyManager;
|
||||
import android.app.settings.SettingsEnums;
|
||||
import android.content.ComponentName;
|
||||
import android.content.Intent;
|
||||
import android.hardware.face.FaceManager;
|
||||
import android.os.Bundle;
|
||||
import android.text.TextUtils;
|
||||
import android.widget.TextView;
|
||||
|
||||
import com.android.settings.R;
|
||||
@@ -157,15 +155,7 @@ public class FaceEnrollIntroduction extends BiometricEnrollIntroduction {
|
||||
|
||||
@Override
|
||||
protected Intent getEnrollingIntent() {
|
||||
final String flattenedString = getString(R.string.config_face_enroll);
|
||||
final Intent intent = new Intent();
|
||||
if (!TextUtils.isEmpty(flattenedString)) {
|
||||
ComponentName componentName = ComponentName.unflattenFromString(flattenedString);
|
||||
intent.setComponent(componentName);
|
||||
|
||||
} else {
|
||||
intent.setClass(this, FaceEnrollEnrolling.class);
|
||||
}
|
||||
Intent intent = new Intent(this, FaceEnrollEducation.class);
|
||||
WizardManagerHelper.copyWizardManagerExtras(getIntent(), intent);
|
||||
return intent;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user