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

Commit 84778453 authored by tom hsu's avatar tom hsu
Browse files

[Regional prefernce] Remove U extension in locale of app list

Bug: b/270251111
Test: Manual Test
Change-Id: I2b3facfc5f7ec40a48379c79a5f0672cfe5fa7af
parent b3ed786e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -213,7 +213,7 @@ public class AppLocaleDetails extends SettingsPreferenceFragment {
        if (appLocale == null) {
            return context.getString(R.string.preference_of_system_locale_summary);
        } else {
            return LocaleHelper.getDisplayName(appLocale, appLocale, true);
            return LocaleHelper.getDisplayName(appLocale.stripExtensions(), appLocale, true);
        }
    }
}