Fix a janky transition

Bug: 6026080
Change-Id: I75bd244b2b09c371805a67057d2a9c45dc12f3db
This commit is contained in:
Jean Chalard
2012-05-08 13:09:06 +09:00
parent 184ae2c3f2
commit b9f837dd1d
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;
}