diff --git a/services/ans/src/notification_smart_reminder/smart_reminder_center.cpp b/services/ans/src/notification_smart_reminder/smart_reminder_center.cpp index d8ff25d6dcfa4e1300fb54c48a0b1342efb1e147..543d158c26a02fde0c7d3253f37751e196877e51 100644 --- a/services/ans/src/notification_smart_reminder/smart_reminder_center.cpp +++ b/services/ans/src/notification_smart_reminder/smart_reminder_center.cpp @@ -356,11 +356,6 @@ void SmartReminderCenter::InitValidDevices( ANS_LOGI("unaffect slot"); continue; } - bool distributedSwitch = GetDistributedSwitch(deviceType); - if (!distributedSwitch) { - ANS_LOGI("distributed switch is closed, deveiceType = %{public}s", deviceType.c_str()); - continue; - } bool appSwitch = GetAppSwitch(deviceType, request->GetOwnerBundleName(), request->GetOwnerUid()); // app-close if (!appSwitch) {