diff --git a/src/com/android/settings/applications/appinfo/AppLocaleDetails.java b/src/com/android/settings/applications/appinfo/AppLocaleDetails.java index a73d658caad..1a7793e2ead 100644 --- a/src/com/android/settings/applications/appinfo/AppLocaleDetails.java +++ b/src/com/android/settings/applications/appinfo/AppLocaleDetails.java @@ -35,6 +35,7 @@ import android.widget.TextView; import androidx.preference.Preference; +import com.android.internal.app.LocaleHelper; import com.android.settings.R; import com.android.settings.SettingsPreferenceFragment; import com.android.settings.Utils; @@ -212,7 +213,7 @@ public class AppLocaleDetails extends SettingsPreferenceFragment { if (appLocale == null) { return context.getString(R.string.preference_of_system_locale_summary); } else { - return appLocale.getDisplayName(appLocale); + return LocaleHelper.getDisplayName(appLocale, appLocale, true); } } }