Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b9f837dd authored by Jean Chalard's avatar Jean Chalard
Browse files

Fix a janky transition

Bug: 6026080
Change-Id: I75bd244b2b09c371805a67057d2a9c45dc12f3db
parent 184ae2c3
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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".
+1 −0
Original line number Diff line number Diff line
@@ -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;
    }