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:
@@ -135,8 +135,9 @@ public class SetupChooseLockPassword extends ChooseLockPassword {
|
||||
@Override
|
||||
protected void updateUi() {
|
||||
super.updateUi();
|
||||
mSkipButton.setVisibility(mForFingerprint ? View.GONE : View.VISIBLE);
|
||||
|
||||
// Show the skip button during SUW but not during Settings > Biometric Enrollment
|
||||
mSkipButton.setVisibility(View.VISIBLE);
|
||||
if (mOptionsButton != null) {
|
||||
mOptionsButton.setVisibility(
|
||||
mUiStage == Stage.Introduction ? View.VISIBLE : View.GONE);
|
||||
|
Reference in New Issue
Block a user