Fix UI disappear even if add locale with numbering systems

- When user add a locale with multiple numbering systems to system
   language list, it shall show numbering system UI in Regional
   preferences UI. This fix is to add numbering system information to
   LocaleInfo data to tell caller the correct numbering system message.

Bug: b/275139725
Test: Manual test
Change-Id: I83e63581219fd2200f88fccaa84b2df67f170157
This commit is contained in:
tom hsu
2023-03-29 21:50:37 +08:00
parent 60348db3a6
commit a6762e2448

View File

@@ -657,6 +657,7 @@ public class LocaleStore {
// of supported locales.
result.mIsPseudo = localeInfo.mIsPseudo;
result.mIsTranslated = localeInfo.mIsTranslated;
result.mHasNumberingSystems = localeInfo.mHasNumberingSystems;
result.mSuggestionFlags = localeInfo.mSuggestionFlags;
return result;
}