!128 电话服务支持通话能力刷新依赖

Merge pull request !128 from 张海丰/myfeaturexxx2
This commit is contained in:
openharmony_ci 2021-12-20 01:10:15 +00:00 committed by Gitee
commit fd3c60f004

View File

@ -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)));
}