diff --git a/services/ans/src/advanced_notification_slot_service.cpp b/services/ans/src/advanced_notification_slot_service.cpp index ce0d25012ed8e345c41114ce73a92adffd832ff6..dcd78faf4327a9f558fb7deb5c0625aa3abf8da5 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;