diff --git a/services/ans/src/common/notification_analytics_util.cpp b/services/ans/src/common/notification_analytics_util.cpp index f41dae5c5c3819e8f2752d57eff877cd9dcf3628..9e7dfce4e9bcd38b45cd4f9ba9e7d0378c9efd6d 100644 --- a/services/ans/src/common/notification_analytics_util.cpp +++ b/services/ans/src/common/notification_analytics_util.cpp @@ -181,10 +181,10 @@ void NotificationAnalyticsUtil::ReportNotificationEvent(const sptr(contentType))); want.SetParam("extraInfo", extraContent); if (!request->GetCreatorBundleName().empty()) { - want.SetBundle(request->GetCreatorBundleName()); + want.SetParam("agentBundleName", request->GetCreatorBundleName()); } if (!request->GetOwnerBundleName().empty()) { - want.SetParam("agentBundleName", request->GetOwnerBundleName()); + want.SetBundle(request->GetOwnerBundleName()); } want.SetAction(NOTIFICATION_EVENT_PUSH_AGENT); EventFwk::CommonEventPublishInfo publishInfo;