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:
@@ -66,6 +66,7 @@ public class ChooseLockPatternExample extends Activity implements View.OnClickLi
|
|||||||
stopAnimation(mAnimation);
|
stopAnimation(mAnimation);
|
||||||
Intent intent = new Intent(this, ChooseLockPattern.class);
|
Intent intent = new Intent(this, ChooseLockPattern.class);
|
||||||
intent.addFlags(Intent.FLAG_ACTIVITY_FORWARD_RESULT);
|
intent.addFlags(Intent.FLAG_ACTIVITY_FORWARD_RESULT);
|
||||||
|
intent.putExtra("confirm_credentials", false);
|
||||||
startActivity(intent);
|
startActivity(intent);
|
||||||
finish();
|
finish();
|
||||||
}
|
}
|
||||||
|
@@ -35,6 +35,7 @@ public class ChooseLockPatternTutorial extends Activity implements View.OnClickL
|
|||||||
if (savedInstanceState == null && lockPatternUtils.isPatternEverChosen()) {
|
if (savedInstanceState == null && lockPatternUtils.isPatternEverChosen()) {
|
||||||
Intent intent = new Intent(this, ChooseLockPattern.class);
|
Intent intent = new Intent(this, ChooseLockPattern.class);
|
||||||
intent.setFlags(Intent.FLAG_ACTIVITY_FORWARD_RESULT);
|
intent.setFlags(Intent.FLAG_ACTIVITY_FORWARD_RESULT);
|
||||||
|
intent.putExtra("confirm_credentials", false);
|
||||||
startActivity(intent);
|
startActivity(intent);
|
||||||
finish();
|
finish();
|
||||||
} else {
|
} else {
|
||||||
|
Reference in New Issue
Block a user