From 1a76098e60059853c43ac899fee06bd012513239 Mon Sep 17 00:00:00 2001 From: xdongs Date: Fri, 12 Sep 2025 09:12:25 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8E=88=E6=9D=83=E5=BC=B9=E7=AA=97=E5=A2=9E?= =?UTF-8?q?=E5=8A=A0=E7=BB=B4=E6=B5=8B=E6=97=A5=E5=BF=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: xdongs --- services/ans/src/enable_manager/enable_manager.cpp | 2 ++ services/ans/src/notification_preferences.cpp | 2 ++ 2 files changed, 4 insertions(+) diff --git a/services/ans/src/enable_manager/enable_manager.cpp b/services/ans/src/enable_manager/enable_manager.cpp index 5686a15eb..0a582273f 100644 --- a/services/ans/src/enable_manager/enable_manager.cpp +++ b/services/ans/src/enable_manager/enable_manager.cpp @@ -572,6 +572,8 @@ ErrCode AdvancedNotificationService::IsAllowedNotifySelf(const sptrGetBundleName().c_str(), bundleOption->GetUid(), allowed, result); return result; } diff --git a/services/ans/src/notification_preferences.cpp b/services/ans/src/notification_preferences.cpp index 38b662af9..18e3b800d 100644 --- a/services/ans/src/notification_preferences.cpp +++ b/services/ans/src/notification_preferences.cpp @@ -447,6 +447,8 @@ ErrCode NotificationPreferences::SetNotificationsEnabledForBundle( if (result == ERR_OK) { preferencesInfo_ = preferencesInfo; } + ANS_LOGI("set ntf auht status %{public}s %{public}d %{public}d %{public}d", + bundleOption->GetBundleName().c_str(), bundleOption->GetUid(), state, result); return result; } -- Gitee