From 4c023f36519bd3ab1ee1800f6bdce6aaf84a48c9 Mon Sep 17 00:00:00 2001 From: wangsen1994 Date: Wed, 23 Apr 2025 16:19:42 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=B3=E9=97=AD=E5=AE=9E=E5=86=B5=E5=BC=80?= =?UTF-8?q?=E5=85=B3=EF=BC=8C=E7=B3=BB=E7=BB=9F=E5=AE=9E=E5=86=B5=E6=97=A0?= =?UTF-8?q?=E6=B3=95=E5=8F=91=E5=87=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: wangsen1994 --- services/ans/src/advanced_notification_slot_service.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/services/ans/src/advanced_notification_slot_service.cpp b/services/ans/src/advanced_notification_slot_service.cpp index ce0d25012..dcd78faf4 100644 --- a/services/ans/src/advanced_notification_slot_service.cpp +++ b/services/ans/src/advanced_notification_slot_service.cpp @@ -499,8 +499,7 @@ ErrCode AdvancedNotificationService::AssignValidNotificationSlot(const std::shar if (result == ERR_OK) { std::string bundleName = bundleOption->GetBundleName(); if (slot != nullptr && - (bundleName == CALL_UI_BUNDLE || slot->GetEnable() || - (record->request->GetAgentBundle() != nullptr && record->request->IsSystemLiveView()) || + (bundleName == CALL_UI_BUNDLE || slot->GetEnable() || record->request->IsSystemLiveView() || (slot->GetType() == NotificationConstant::SlotType::LIVE_VIEW && DelayedSingleton::GetInstance()->IsLiveViewEnabled(bundleName)))) { record->slot = slot; -- Gitee