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

Commit 864c16d8 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Only add system language on locale page" into tm-dev am: 66070d7c am: 5e1709fd

parents 5c9129e3 5e1709fd
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -176,8 +176,9 @@ public class LocalePickerWithRegion extends ListFragment implements SearchView.O

            // Add current system language into suggestion list
            for(LocaleStore.LocaleInfo localeInfo: LocaleStore.getSystemCurrentLocaleInfo()) {
                if (appCurrentLocale == null ||
                        !localeInfo.getLocale().equals(appCurrentLocale.getLocale())) {
                boolean isNotCurrentLocale = appCurrentLocale == null
                        || !localeInfo.getLocale().equals(appCurrentLocale.getLocale());
                if (!isForCountryMode && isNotCurrentLocale) {
                    mLocaleList.add(localeInfo);
                }
            }