diff --git a/services/ans/src/enable_manager/enable_manager.cpp b/services/ans/src/enable_manager/enable_manager.cpp index 5686a15eb21b774d7314d3c81600a02d630f1906..0a582273f1c7285bc0a52becaaeae9c2b05ec29d 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 38b662af96056ffed4442982c593c90c7a5ab4dc..18e3b800dc2c1c49ebe73c3679f8cc9fecd5e2b9 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; }