From 4fc90e245fa4cdd1b8fb7c730882e9112ac22c1f Mon Sep 17 00:00:00 2001 From: liwang <965027894@qq.com> Date: Fri, 15 Aug 2025 10:00:07 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8DrepresentativeBundle=E8=B5=8B?= =?UTF-8?q?=E5=80=BC=E9=94=99=E8=AF=AF=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: liwang <965027894@qq.com> --- frameworks/ets/ani/src/sts_request.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frameworks/ets/ani/src/sts_request.cpp b/frameworks/ets/ani/src/sts_request.cpp index f4102afa8..a02288d3b 100644 --- a/frameworks/ets/ani/src/sts_request.cpp +++ b/frameworks/ets/ani/src/sts_request.cpp @@ -724,7 +724,7 @@ void GetNotificationBundleOption(ani_env *env, ani_object obj, return; } OHOS::Notification::NotificationBundleOption option; - if (ANI_OK == UnwrapBundleOption(env, static_cast(optionRef), option)) { + if (UnwrapBundleOption(env, static_cast(optionRef), option)) { request->SetBundleOption(std::make_shared(option)); } } -- Gitee