Mark Serbian in Latin script as non-localized [DO NOT MERGE]

Serbian in Latin script is only partially localized in Android N. We
should not show it as localized in either Setup Wizard or Settings.

Bug: 29460424
Change-Id: I6829a89c49c1b5e8768b1527daa3aa9508deb491
This commit is contained in:
Roozbeh Pournader
2016-06-17 17:34:13 -07:00
parent fc70b07385
commit e977b0ae59

View File

@@ -307,6 +307,9 @@ public class LocaleStore {
localizedLocales.add(li.getLangScriptKey());
}
// Serbian in Latin script is only partially localized in N.
localizedLocales.remove("sr-Latn");
for (LocaleInfo li : sLocaleCache.values()) {
li.setTranslated(localizedLocales.contains(li.getLangScriptKey()));
}