Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e977b0ae authored by Roozbeh Pournader's avatar Roozbeh Pournader
Browse files

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
parent fc70b073
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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()));
        }