Show Choose/ConfirmLock before showing BiometricEnrollIntroduction
Skip button is now shown when ChooseLock is launched by BiometricEnroll, otherwise users are forced to use passwords (maybe good thing?) Bug: 111548033 Test: Pin/pattern/pass must be set/confirmed before enrollment Test: Able to enroll FP in SUW and Settings Change-Id: Ic4bbeb539e4bf01c1c402dec308943292b43406d
This commit is contained in:
@@ -51,12 +51,9 @@ public class FingerprintEnrollFindSensor extends BiometricEnrollBase {
|
||||
|
||||
setHeaderText(R.string.security_settings_fingerprint_enroll_find_sensor_title);
|
||||
|
||||
if (shouldLaunchConfirmLock()) {
|
||||
launchConfirmLock(R.string.security_settings_fingerprint_preference_title,
|
||||
Utils.getFingerprintManagerOrNull(this).preEnroll());
|
||||
} else if (mToken != null) {
|
||||
startLookingForFingerprint(); // already confirmed, so start looking for fingerprint
|
||||
}
|
||||
|
||||
startLookingForFingerprint(); // already confirmed, so start looking for fingerprint
|
||||
|
||||
View animationView = findViewById(R.id.fingerprint_sensor_location_animation);
|
||||
if (animationView instanceof FingerprintFindSensorAnimation) {
|
||||
mAnimation = (FingerprintFindSensorAnimation) animationView;
|
||||
|
Reference in New Issue
Block a user