From 5c9e222ca051d92ba5a0d7a95f4098511af89cdd Mon Sep 17 00:00:00 2001 From: liwang <965027894@qq.com> Date: Mon, 25 Aug 2025 17:09:32 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8DnotificationControlFlags?= =?UTF-8?q?=E8=B5=8B=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, 2 insertions(+) diff --git a/frameworks/ets/ani/src/sts_request.cpp b/frameworks/ets/ani/src/sts_request.cpp index 47dabb7ea..7db7d2f35 100644 --- a/frameworks/ets/ani/src/sts_request.cpp +++ b/frameworks/ets/ani/src/sts_request.cpp @@ -883,6 +883,8 @@ bool SetNotificationRequestByNumber(ani_env* env, ani_class cls, const OHOS::Not SetPropertyOptionalByInt(env, object, "creatorPid", request->GetCreatorPid()); // badgeNumber?: long SetPropertyOptionalByLong(env, object, "badgeNumber", request->GetBadgeNumber()); + //notificationControlFlags?: long + SetPropertyOptionalByLong(env, object, "notificationControlFlags", request->GetNotificationControlFlags()); return true; } -- Gitee