Merge "Fix System language option missing and locale region missing issue" into tm-dev
This commit is contained in:
@@ -114,7 +114,7 @@ public class AppLocalePickerActivity extends SettingsBaseActivity
|
|||||||
if (localeInfo == null || localeInfo.getLocale() == null || localeInfo.isSystemLocale()) {
|
if (localeInfo == null || localeInfo.getLocale() == null || localeInfo.isSystemLocale()) {
|
||||||
setAppDefaultLocale("");
|
setAppDefaultLocale("");
|
||||||
} else {
|
} else {
|
||||||
setAppDefaultLocale(localeInfo.getLocale().getLanguage());
|
setAppDefaultLocale(localeInfo.getLocale().toLanguageTag());
|
||||||
}
|
}
|
||||||
finish();
|
finish();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user