Merge "Fix dictionary pack preference order."

This commit is contained in:
Jean Chalard 2013-05-30 06:38:27 +00:00 committed by Android (Google) Code Review
commit 8eb214d7e1

View file

@ -222,7 +222,9 @@ public final class DictionarySettingsFragment extends PreferenceFragment
refreshNetworkState();
removeAnyDictSettings(prefScreen);
int i = 0;
for (Preference preference : prefList) {
preference.setOrder(i++);
prefScreen.addPreference(preference);
}
}