Fix 3315401: Prevent pattern confirmation screen from asking twice
This fixes a bug where changing from PIN to pattern caused the lock pattern tutorial to ask for the PIN twice and ultimately crash due to ConfirmLockPattern getting into the wrong state. Change-Id: Ia3b3186dcd56f2b47a09f54d7636436ee80aa13c
This commit is contained in:
@@ -329,7 +329,7 @@ public class ChooseLockPattern extends PreferenceActivity {
|
||||
topLayout.setDefaultTouchRecepient(mLockPatternView);
|
||||
|
||||
final boolean confirmCredentials = getActivity().getIntent()
|
||||
.getBooleanExtra("confirm_credentials", true);
|
||||
.getBooleanExtra("confirm_credentials", false);
|
||||
|
||||
if (savedInstanceState == null) {
|
||||
if (confirmCredentials) {
|
||||
|
Reference in New Issue
Block a user