am 8eb214d7: Merge "Fix dictionary pack preference order."

* commit '8eb214d7e198e25d48b56fa0a82b2861f817e23c':
  Fix dictionary pack preference order.
main
Jean Chalard 2013-05-29 23:41:10 -07:00 committed by Android Git Automerger
commit fd2f09aee8
1 changed files with 2 additions and 0 deletions

View File

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