am b9f837dd: Fix a janky transition

* commit 'b9f837dd1da22f41c72e0cdc1454a486dbc6c448':
  Fix a janky transition
This commit is contained in:
Jean Chalard
2012-05-09 01:46:06 -07:00
committed by Android Git Automerger
2 changed files with 3 additions and 0 deletions

View File

@@ -200,6 +200,8 @@ public class InputMethodAndLanguageSettings extends SettingsPreferenceFragment
new Intent(UserDictionaryList.USER_DICTIONARY_SETTINGS_INTENT_ACTION);
userDictionaryPreference.setTitle(R.string.user_dict_single_settings_title);
userDictionaryPreference.setIntent(intent);
userDictionaryPreference.setFragment(
com.android.settings.UserDictionarySettings.class.getName());
// If the size of localeList is 0, we don't set the locale parameter in the
// extras. This will be interpreted by the UserDictionarySettings class as
// meaning "the current locale".

View File

@@ -100,6 +100,7 @@ public class UserDictionaryList extends SettingsPreferenceFragment {
newPref.getExtras().putString("locale", locale);
}
newPref.setIntent(intent);
newPref.setFragment(com.android.settings.UserDictionarySettings.class.getName());
return newPref;
}