mirror of
https://gitee.com/openharmony/global_i18n
synced 2024-11-23 15:10:32 +00:00
commit
fd3c60f004
@ -544,6 +544,7 @@ void LocaleConfig::GetRelatedLocales(unordered_set<string> &relatedLocales, vect
|
||||
|
||||
void LocaleConfig::GetCountriesFromSim(vector<string> &simCountries)
|
||||
{
|
||||
simCountries.push_back(GetSystemRegion());
|
||||
auto simCardManager = std::make_unique<Telephony::SimCardManager>();
|
||||
simCountries.push_back(Str16ToStr8(simCardManager->GetIsoCountryCodeForSim(0)));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user