codeCheck

Signed-off-by: MisterE <smart_e@126.com>
This commit is contained in:
MisterE 2024-09-24 19:40:05 +08:00
commit f155c88eb8
2 changed files with 2 additions and 2 deletions

View File

@ -83,7 +83,7 @@ void CommonEventListener::OnReceiveEvent(const EventFwk::CommonEventData &eventD
case PACKAGE_REMOVED :
HILOGI("PACKAGE_REMOVED: %{public}s", want.GetElement().GetBundleName().c_str());
DmsBmStorage::GetInstance()->DeleteStorageDistributeInfo(want.GetElement().GetBundleName());
DMSContinueRecvMgr::GetInstance().NotifyPackageRemove(want.GetElement().GetBundleName());
DMSContinueRecvMgr::GetInstance().NotifyPackageRemoved(want.GetElement().GetBundleName());
break;
default:
HILOGW("OnReceiveEvent undefined action");

View File

@ -568,7 +568,7 @@ void DMSContinueRecvMgr::NotifyPackageRemoved(const std::string& sinkBundleName)
return;
}
if (iconInfo_.bundleName != sinkBundleName) {
HILOGI("NotifyPackageRemoved current sinkBundleName: %{public}s; removed package: %{public}s."
HILOGI("NotifyPackageRemoved current sinkBundleName: %{public}s; removed package: %{public}s.",
iconInfo_.bundleName.c_str(), sinkBundleName.c_str());
return;
}