Fix QPR2 build
Change-Id: I03bdfacf5d8432ac9e4c66723ecacbf5a4464154
This commit is contained in:
committed by
Michael Bestas
parent
935ba6902d
commit
79e9f1cdbd
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user