include exceptions

This commit is contained in:
sonora 2016-05-30 10:41:46 +02:00
parent 6efff77a9e
commit d0e73d5d15

View file

@ -548,6 +548,11 @@ public class ConfigureMapMenu {
if (i1 != i2) {
return i1 < i2 ? -1 : 1;
}
i1 = lhs.equals(getString(R.string.system_locale) + " (" + getString(R.string.system_locale_no_translate) + ")") ? 0 : (lhs.equals(getString(R.string.lang_en)) ? 1 : 2);
i1 = rhs.equals(getString(R.string.system_locale) + " (" + getString(R.string.system_locale_no_translate) + ")") ? 0 : (rhs.equals(getString(R.string.lang_en)) ? 1 : 2);
if (i1 != i2) {
return i1 < i2 ? -1 : 1;
}
return mp.get(lhs).compareTo(mp.get(rhs));
}
});