!11671 bmsClient运行在InPRocessCall

Merge pull request !11671 from 段嗣钊/master1119
This commit is contained in:
openharmony_ci 2024-11-19 09:53:29 +00:00 committed by Gitee
commit 8ec347d055
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -205,7 +205,7 @@ bool UPMSUtils::GetDirByBundleNameAndAppIndex(const std::string &bundleName, int
TAG_LOGE(AAFwkTag::URIPERMMGR, "bundleMgrClient is nullptr.");
return false;
}
auto bmsRet = bmsClient->GetDirByBundleNameAndAppIndex(bundleName, appIndex, dirName);
auto bmsRet = IN_PROCESS_CALL(bmsClient->GetDirByBundleNameAndAppIndex(bundleName, appIndex, dirName));
if (bmsRet != ERR_OK) {
TAG_LOGE(AAFwkTag::URIPERMMGR, "GetDirByBundleNameAndAppIndex failed, ret:%{public}d", bmsRet);
return false;