commit | b9f837dd1da22f41c72e0cdc1454a486dbc6c448 | [log] [tgz] |
---|---|---|
author | Jean Chalard <jchalard@google.com> | Tue May 08 13:09:06 2012 +0900 |
committer | Jean Chalard <jchalard@google.com> | Tue May 08 13:09:39 2012 +0900 |
tree | 91388ec9a9d094047f119ef4ffdee925c580e40e | |
parent | 184ae2c3f2339fdbf7c5e538855c0e1afbf58e9e [diff] |
Fix a janky transition Bug: 6026080 Change-Id: I75bd244b2b09c371805a67057d2a9c45dc12f3db
diff --git a/src/com/android/settings/inputmethod/InputMethodAndLanguageSettings.java b/src/com/android/settings/inputmethod/InputMethodAndLanguageSettings.java index b48df03..cb350b2 100644 --- a/src/com/android/settings/inputmethod/InputMethodAndLanguageSettings.java +++ b/src/com/android/settings/inputmethod/InputMethodAndLanguageSettings.java
@@ -200,6 +200,8 @@ 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".
diff --git a/src/com/android/settings/inputmethod/UserDictionaryList.java b/src/com/android/settings/inputmethod/UserDictionaryList.java index 6b1ca7b..ff82a30 100644 --- a/src/com/android/settings/inputmethod/UserDictionaryList.java +++ b/src/com/android/settings/inputmethod/UserDictionaryList.java
@@ -100,6 +100,7 @@ newPref.getExtras().putString("locale", locale); } newPref.setIntent(intent); + newPref.setFragment(com.android.settings.UserDictionarySettings.class.getName()); return newPref; }