Merge "[Regional prefernce] Remove U extension in locale of app list" into udc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
cdfd4ee9b3
@@ -213,7 +213,7 @@ public class AppLocaleDetails extends SettingsPreferenceFragment {
|
|||||||
if (appLocale == null) {
|
if (appLocale == null) {
|
||||||
return context.getString(R.string.preference_of_system_locale_summary);
|
return context.getString(R.string.preference_of_system_locale_summary);
|
||||||
} else {
|
} else {
|
||||||
return LocaleHelper.getDisplayName(appLocale, appLocale, true);
|
return LocaleHelper.getDisplayName(appLocale.stripExtensions(), appLocale, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user