From a4d932f78d581a708f4625af4a0927e7ffeeb72f Mon Sep 17 00:00:00 2001 From: lvzhuoyao Date: Thu, 7 Dec 2023 11:39:03 +0800 Subject: [PATCH 1/2] =?UTF-8?q?cif=E5=B1=8F=E8=94=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: lvzhuoyao Change-Id: I6a06a6191bb0e33ada661d3b49eb5facbbb71049 Signed-off-by: lvzhuoyao --- frameworks/ans/src/notification_local_live_view_subscriber.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frameworks/ans/src/notification_local_live_view_subscriber.cpp b/frameworks/ans/src/notification_local_live_view_subscriber.cpp index 2dd138134..fec8f9c22 100644 --- a/frameworks/ans/src/notification_local_live_view_subscriber.cpp +++ b/frameworks/ans/src/notification_local_live_view_subscriber.cpp @@ -40,7 +40,7 @@ NotificationLocalLiveViewSubscriber::SubscriberLocalLiveViewImpl::SubscriberLoca recipient_ = new (std::nothrow) DeathRecipient(*this); }; -void NotificationLocalLiveViewSubscriber::SubscriberLocalLiveViewImpl::OnConnected() +void NotificationLocalLiveViewSubscriber::SubscriberLocalLiveViewImpl::OnConnected() __attribute__((no_sanitize("cfi"))) { HITRACE_METER_NAME(HITRACE_TAG_NOTIFICATION, __PRETTY_FUNCTION__); if (GetAnsManagerProxy()) { -- Gitee From b039bd2baae8a645ab31e975af46935957f67c7c Mon Sep 17 00:00:00 2001 From: lvzhuoyao Date: Sat, 9 Dec 2023 17:38:57 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=9D=83=E9=99=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: lvzhuoyao Change-Id: I0df246a78b1f10bac01d40820ca68601744d908d --- .../enable_notification_dialog/entry/src/main/module.json | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/services/dialog_ui/enable_notification_dialog/entry/src/main/module.json b/services/dialog_ui/enable_notification_dialog/entry/src/main/module.json index 18153b2f8..595e1276b 100644 --- a/services/dialog_ui/enable_notification_dialog/entry/src/main/module.json +++ b/services/dialog_ui/enable_notification_dialog/entry/src/main/module.json @@ -26,14 +26,11 @@ } ], "requestPermissions": [ - { - "name": "ohos.permission.GET_BUNDLE_INFO_PRIVILEGED" - }, { "name": "ohos.permission.START_ABILITIES_FROM_BACKGROUND" }, { - "name": "ohos.permission.NOTIFICATION_CONTROLLER" + "name": "ohos.permission.GET_BUNDLE_INFO" } ] } -- Gitee