From ebe07cffb792cae7a397662b3ef707eb5246bce6 Mon Sep 17 00:00:00 2001 From: rcy-hw Date: Wed, 16 Mar 2022 16:01:15 +0800 Subject: [PATCH] disable distribute notification Signed-off-by: rcy-hw Change-Id: Ib33a169025c949cb459e9e18e16bc155edc5d79a --- frameworks/ans/native/src/reminder_request.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/frameworks/ans/native/src/reminder_request.cpp b/frameworks/ans/native/src/reminder_request.cpp index 381d0bb5d..d799cd5a8 100644 --- a/frameworks/ans/native/src/reminder_request.cpp +++ b/frameworks/ans/native/src/reminder_request.cpp @@ -1421,6 +1421,7 @@ void ReminderRequest::UpdateNotificationCommon() flags->SetSoundEnabled(NotificationConstant::FlagStatus::CLOSE); flags->SetVibrationEnabled(NotificationConstant::FlagStatus::CLOSE); notificationRequest_->SetFlags(flags); + notificationRequest_->SetDistributed(false); } void ReminderRequest::UpdateNotificationBundleInfo() -- Gitee