!201 告警清理

Merge pull request !201 from Lotol/master
This commit is contained in:
openharmony_ci
2022-09-26 02:10:30 +00:00
committed by Gitee
2 changed files with 3 additions and 2 deletions
@@ -599,7 +599,8 @@ static uint8_t ObtainBundleInfosOneByOne(BasicInfo basicInfo, int32_t len, uint8
WriteInt32(&innerIpcIo, i);
ResultOfGetBundleInfo resultOfGetBundleInfo;
resultOfGetBundleInfo.bundleInfo = nullptr;
int32_t ret = bmsClient->Invoke(bmsClient, GET_BUNDLE_INFO_BY_INDEX, &innerIpcIo, &resultOfGetBundleInfo, Notify);
int32_t ret = bmsClient->Invoke(bmsClient, GET_BUNDLE_INFO_BY_INDEX, &innerIpcIo,
&resultOfGetBundleInfo, Notify);
if (ret != OHOS_SUCCESS) {
HILOG_ERROR(HILOG_MODULE_APP, "BundleManager ObtainBundleInfosOneByOne invoke failed: %{public}d\n", ret);
return ERR_APPEXECFWK_INVOKE_ERROR;
@@ -619,7 +619,7 @@ uint8_t BundleMsFeature::HandleGetBundleInfosByIndex(const uint8_t funcId, IpcIo
return ERR_APPEXECFWK_OBJECT_NULL;
}
int32_t lengthOfBundleInfo = 0;
BundleInfo *bundleInfos = GetInnerBundleInfos(req, reply, &lengthOfBundleInfo);;
BundleInfo *bundleInfos = GetInnerBundleInfos(req, reply, &lengthOfBundleInfo);
int32_t index = 0;
ReadInt32(req, &index);
HILOG_INFO(HILOG_MODULE_APP, "BundleMS index is : %{public}d\n", index);