Fix dictionary pack preference order.
It turns out giving them in the right order is not enough, you also have to actually give them a numeric priority. Bug: 9165928 Change-Id: I2ecff38f65b70746feeeeb0ed2cc86a586a35363
This commit is contained in:
parent
305509ed2f
commit
b3d150aa13
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue