commit | 714bcfff2c533344b0a56b2b31f02a5d7697831a | [log] [tgz] |
---|---|---|
author | danielwbhuang <danielwbhuang@google.com> | Thu Jan 20 22:46:44 2022 +0800 |
committer | danielwbhuang <danielwbhuang@google.com> | Thu Jan 20 22:48:28 2022 +0800 |
tree | 2f9c56823ca42fc2896577bd6c624f5c64f40723 | |
parent | a031404afc5f8f20c7a10fe2850a89ffc59ec2a0 [diff] |
[Panlingual] Suggested locales update 1. Extract the Country from the Top system langauge, TelephonyManager.getSimCountryIso().toUpperCase(Locale.US), and TelephonyManager.getNetworkCountryIso().toUpperCase(Locale.US). 2. For each app-supported locale, if the region is identical then add this as a suggested language. Bug: 209729740 Test: atest AppLocaleDetailsTest Change-Id: I4f95a638916e88197fc37546c7786c63b59f581d