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:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user