From 7e209c8a950dd566ea7889002479e20dd075463b Mon Sep 17 00:00:00 2001 From: wangdi Date: Tue, 27 May 2025 11:04:35 +0800 Subject: [PATCH] roll disturb userId Signed-off-by: wangdi --- frameworks/core/src/ans_notification.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frameworks/core/src/ans_notification.cpp b/frameworks/core/src/ans_notification.cpp index 781918125..95c914fbb 100644 --- a/frameworks/core/src/ans_notification.cpp +++ b/frameworks/core/src/ans_notification.cpp @@ -1729,7 +1729,7 @@ ErrCode AnsNotification::SetDoNotDisturbDate(const int32_t &userId, ANS_LOGE("Fail: dndDate is nullptr."); return ERR_ANS_INVALID_PARAM; } - return proxy->SetDoNotDisturbDate(userId, dndDate); + return proxy->SetDoNotDisturbDate(dndDate); } ErrCode AnsNotification::GetDoNotDisturbDate(const int32_t &userId, NotificationDoNotDisturbDate &doNotDisturbDate) @@ -1746,7 +1746,7 @@ ErrCode AnsNotification::GetDoNotDisturbDate(const int32_t &userId, Notification } sptr dndDate = nullptr; - auto ret = proxy->GetDoNotDisturbDate(userId, dndDate); + auto ret = proxy->GetDoNotDisturbDate(dndDate); if (ret != ERR_OK) { ANS_LOGE("Get DoNotDisturbDate failed."); return ret; -- Gitee