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

Commit 79e9f1cd authored by Michael Bestas's avatar Michael Bestas Committed by Michael Bestas
Browse files

Fix QPR2 build

Change-Id: I03bdfacf5d8432ac9e4c66723ecacbf5a4464154
parent 935ba690
Loading
Loading
Loading
Loading
+3 −4
Original line number Diff line number Diff line
@@ -204,10 +204,9 @@ public class LocaleActivity extends BaseSetupWizardActivity {
                // If that fails, fall back to preferred languages reported
                // by the sim
                if (locale == null) {
                    String localeString = telephonyManager.getLocaleFromDefaultSim();
                    if (localeString != null) {
                        locale = Locale.forLanguageTag(localeString);

                    Locale simLocale = telephonyManager.getSimLocale();
                    if (simLocale != null) {
                        locale = simLocale;
                    }
                }
                Locale finalLocale = locale;