Fix 2599706: Made sure that the user is not asked to confirm his password again after watching the lock pattern tutorial.

Change-Id: I4c1c4e9cd4820d9b8ebd10a2999d21bee6a08ba5
This commit is contained in:
Konstantin Lopyrev
2010-06-01 15:22:57 -07:00
parent e7739d1ab5
commit 9e1580de8e
2 changed files with 2 additions and 0 deletions

View File

@@ -66,6 +66,7 @@ public class ChooseLockPatternExample extends Activity implements View.OnClickLi
stopAnimation(mAnimation);
Intent intent = new Intent(this, ChooseLockPattern.class);
intent.addFlags(Intent.FLAG_ACTIVITY_FORWARD_RESULT);
intent.putExtra("confirm_credentials", false);
startActivity(intent);
finish();
}

View File

@@ -35,6 +35,7 @@ public class ChooseLockPatternTutorial extends Activity implements View.OnClickL
if (savedInstanceState == null && lockPatternUtils.isPatternEverChosen()) {
Intent intent = new Intent(this, ChooseLockPattern.class);
intent.setFlags(Intent.FLAG_ACTIVITY_FORWARD_RESULT);
intent.putExtra("confirm_credentials", false);
startActivity(intent);
finish();
} else {