1/n Start adding Face settings (base, intro)
This change refactors common biometric settings code as well to minimize duplicated code in areas such as: Preference Controller EnrollBase EnrollIntro This change also updates ChooseLock to have Face + Pin/Pattern/Pass Bug: 110589286 Test: Fingerprint settings/enrollment still works Test: make -j56 RunSettingsRoboTests Change-Id: Ie35406a01b85617423beece42683ac086e9bc4a7
This commit is contained in:
@@ -97,7 +97,7 @@ public class SetupFingerprintEnrollIntroduction extends FingerprintEnrollIntrodu
|
||||
protected void onActivityResult(int requestCode, int resultCode, Intent data) {
|
||||
// if lock was already present, do not return intent data since it must have been
|
||||
// reported in previous attempts
|
||||
if (requestCode == FINGERPRINT_FIND_SENSOR_REQUEST && isKeyguardSecure()
|
||||
if (requestCode == BIOMETRIC_FIND_SENSOR_REQUEST && isKeyguardSecure()
|
||||
&& !mAlreadyHadLockScreenSetup) {
|
||||
data = getMetricIntent(data);
|
||||
}
|
||||
|
Reference in New Issue
Block a user