revert-70ac1926
Charitha Goonetilleke 4 years ago
parent 7e088ea747
commit 31dc6fc839

@ -408,7 +408,7 @@ public class OperationManagerImpl implements OperationManager {
if (DeviceConfigurationManager.getInstance().getDeviceManagementConfig(). if (DeviceConfigurationManager.getInstance().getDeviceManagementConfig().
getPushNotificationConfiguration().getSchedulerBatchSize() <= enrolments.size() && getPushNotificationConfiguration().getSchedulerBatchSize() <= enrolments.size() &&
notificationStrategy != null) { notificationStrategy != null) {
isScheduled = notificationStrategy.getConfig().isScheduled(); isScheduled = notificationStrategy.getConfig() != null && notificationStrategy.getConfig().isScheduled();
} }
int failAttempts = 0; int failAttempts = 0;
while (true) { while (true) {

Loading…
Cancel
Save