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

Commit 365cec43 authored by tom hsu's avatar tom hsu
Browse files

Fix unexpected string is said by talkback.

Bug: b/268278327
Test: Manual test passed
Change-Id: Ife99ee34a3a3e38af4444c02d817df564f84e3d3
parent a087b29e
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -167,8 +167,9 @@ public class LocaleStore {
         */
        @UnsupportedAppUsage
        public String getFullNameInUiLanguage() {
            Locale locale = mLocale.stripExtensions();
            // We don't cache the UI name because the default locale keeps changing
            return LocaleHelper.getDisplayName(mLocale, true /* sentence case */);
            return LocaleHelper.getDisplayName(locale, true /* sentence case */);
        }

        private String getLangScriptKey() {