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 009595bf4fe99d92692fa56f588b598ca0ea3565..7ac232e5102a72095160d80308fed3e365871fda 100644 --- a/services/ans/src/notification_smart_reminder/smart_reminder_center.cpp +++ b/services/ans/src/notification_smart_reminder/smart_reminder_center.cpp @@ -362,16 +362,8 @@ void SmartReminderCenter::InitValidDevices( request->SetNotificationControlFlags(notificationControlFlags | CONTROL_BY_SMART_REMINDER); continue; } - // app-open, smart-close not watch - if (deviceType.compare(NotificationConstant::WEARABLE_DEVICE_TYPE) != 0 && - deviceType.compare(NotificationConstant::LITEWEARABLE_DEVICE_TYPE) != 0) { - syncDevices.insert(deviceType); - continue; - } - // app-open, smart-close watch - if (!CompareStatus(STATUS_UNUSED, status)) { - syncDevices.insert(deviceType); - } + // app-open, smart-close + syncDevices.insert(deviceType); } } string syncDevicesStr;