diff options
author | Jim Miller <jaggies@google.com> | 2011-02-14 17:43:02 -0800 |
---|---|---|
committer | Jim Miller <jaggies@google.com> | 2011-02-14 17:43:02 -0800 |
commit | 36fd50a4e71a8cca50a48bd5312149f92c09dd99 (patch) | |
tree | 1beb184a5424d803b5b54fc3ecfd987cf2296df8 /src/com/android/settings/ChooseLockPatternTutorial.java | |
parent | cd44f206e025acd9df27b10d7f294f9f9d0302bf (diff) | |
download | packages_apps_settings-36fd50a4e71a8cca50a48bd5312149f92c09dd99.zip packages_apps_settings-36fd50a4e71a8cca50a48bd5312149f92c09dd99.tar.gz packages_apps_settings-36fd50a4e71a8cca50a48bd5312149f92c09dd99.tar.bz2 |
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
Diffstat (limited to 'src/com/android/settings/ChooseLockPatternTutorial.java')
-rw-r--r-- | src/com/android/settings/ChooseLockPatternTutorial.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/com/android/settings/ChooseLockPatternTutorial.java b/src/com/android/settings/ChooseLockPatternTutorial.java index 2e596df..4ad16fb 100644 --- a/src/com/android/settings/ChooseLockPatternTutorial.java +++ b/src/com/android/settings/ChooseLockPatternTutorial.java @@ -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(); } } |