From 223cb8e7db5b6cee2373e520c86b36a78aae892e Mon Sep 17 00:00:00 2001 From: heguokai <275503077@qq.com> Date: Wed, 3 Sep 2025 17:44:54 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8DPublishAsBundle=E4=B8=AD?= =?UTF-8?q?=E4=BC=A0=E5=85=A5=E6=97=A0=E6=95=88=E5=8C=85=E5=90=8D=E4=B8=8D?= =?UTF-8?q?=E6=8A=A5=E9=94=99=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: heguokai <275503077@qq.com> --- frameworks/ets/ani/src/manager/ani_publish.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/frameworks/ets/ani/src/manager/ani_publish.cpp b/frameworks/ets/ani/src/manager/ani_publish.cpp index d7ab033fb..4913ca684 100644 --- a/frameworks/ets/ani/src/manager/ani_publish.cpp +++ b/frameworks/ets/ani/src/manager/ani_publish.cpp @@ -79,6 +79,7 @@ void AniPublishAsBundle(ani_env *env, ani_object request, ani_string representat } notificationRequest->SetOwnerUserId(userId); notificationRequest->SetOwnerBundleName(bundleStr); + notificationRequest->SetIsAgentNotification(true); int returncode = NotificationHelper::PublishNotification(*notificationRequest); if (returncode != ERR_OK) { int externalCode = NotificationSts::GetExternalCode(returncode); -- Gitee