Fix 3361307: Disable activity transition in pattern tutorial

This disables the transition animation that happens between
the pattern tutorial and the pattern entry screen.  This only
happens the first time the pattern is ever selected.

Change-Id: Iee0ffc84a672da4d559e047ef84aca8d6ab0937f
This commit is contained in:
Jim Miller
2011-02-14 17:43:02 -08:00
parent cd44f206e0
commit 36fd50a4e7

View File

@@ -102,6 +102,7 @@ public class ChooseLockPatternTutorial extends PreferenceActivity {
Intent intent = new Intent(getActivity(), ChooseLockPattern.class);
intent.addFlags(Intent.FLAG_ACTIVITY_FORWARD_RESULT);
startActivity(intent);
getActivity().overridePendingTransition(0, 0); // no animation
getActivity().finish();
}
}