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
diff --git a/src/com/android/settings/ChooseLockPattern.java b/src/com/android/settings/ChooseLockPattern.java
index 70c625a..748b444 100644
--- a/src/com/android/settings/ChooseLockPattern.java
+++ b/src/com/android/settings/ChooseLockPattern.java
@@ -329,7 +329,7 @@
topLayout.setDefaultTouchRecepient(mLockPatternView);
final boolean confirmCredentials = getActivity().getIntent()
- .getBooleanExtra("confirm_credentials", true);
+ .getBooleanExtra("confirm_credentials", false);
if (savedInstanceState == null) {
if (confirmCredentials) {