Do not relaunch ConfirmLock after rotation

Bug: 122712696
Test: manual
Change-Id: I44fdbdb54b42c3a680bd83fc21c00e5769b83151
This commit is contained in:
Rubin Xu
2019-03-21 15:56:52 +00:00
parent cd829aced1
commit eba6d5db52

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());
} }
} }