From e769b5653f2088635525b1e3647c0b0cf98143b9 Mon Sep 17 00:00:00 2001 From: yangjun Date: Wed, 4 Sep 2024 17:28:12 +0800 Subject: [PATCH] =?UTF-8?q?NotificationAnalyticsUtil::ReportNotificationEv?= =?UTF-8?q?ent=E4=B8=ADagentBundleName=E8=AE=BE=E7=BD=AE=E9=94=99=E8=AF=AF?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: yangjun Change-Id: I1114ac7e8c2dd74cf49750aaf56863ead82ace12 --- services/ans/src/common/notification_analytics_util.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/services/ans/src/common/notification_analytics_util.cpp b/services/ans/src/common/notification_analytics_util.cpp index f41dae5c5..9e7dfce4e 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; -- Gitee