Merge "Do not relaunch ConfirmLock after rotation"

This commit is contained in:
TreeHugger Robot
2019-03-22 01:03:50 +00:00
committed by Android (Google) Code Review

View File

@@ -140,7 +140,7 @@ public abstract class BiometricEnrollIntroduction extends BiometricEnrollBase
if (!mHasPassword) { if (!mHasPassword) {
// No password registered, launch into enrollment wizard. // No password registered, launch into enrollment wizard.
launchChooseLock(); launchChooseLock();
} else { } else if (!mLaunchedConfirmLock || mToken == null) {
launchConfirmLock(getConfirmLockTitleResId(), getChallenge()); launchConfirmLock(getConfirmLockTitleResId(), getChallenge());
} }
} }