Launch correct enrollment activity from ChooseLock
Test: no noticable difference when setting up fingeprint work profile Fixes: 130397083 Change-Id: I34be5262cc52052ce25a188f19bbcc13f938ac92
This commit is contained in:
@@ -150,7 +150,9 @@ public abstract class BiometricEnrollIntroduction extends BiometricEnrollBase
|
||||
if (!mHasPassword) {
|
||||
// No password registered, launch into enrollment wizard.
|
||||
launchChooseLock();
|
||||
} else if (!mLaunchedConfirmLock || mToken == null) {
|
||||
} else if (mToken == null) {
|
||||
// It's possible to have a token but mLaunchedConfirmLock == false, since
|
||||
// ChooseLockGeneric can pass us a token.
|
||||
launchConfirmLock(getConfirmLockTitleResId(), getChallenge());
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user