FINERACT-822 enable BadImport error check

This commit is contained in:
percyashu
2020-06-20 00:01:23 +02:00
committed by Michael Vorburger ⛑️
parent a72c2f4e47
commit cf4acffb01
6 changed files with 13 additions and 16 deletions
@@ -30,7 +30,6 @@ import org.apache.fineract.infrastructure.gcm.GcmConstants;
import org.apache.fineract.infrastructure.gcm.domain.DeviceRegistration;
import org.apache.fineract.infrastructure.gcm.domain.DeviceRegistrationRepositoryWrapper;
import org.apache.fineract.infrastructure.gcm.domain.Message;
import org.apache.fineract.infrastructure.gcm.domain.Message.Builder;
import org.apache.fineract.infrastructure.gcm.domain.Message.Priority;
import org.apache.fineract.infrastructure.gcm.domain.Notification;
import org.apache.fineract.infrastructure.gcm.domain.NotificationConfigurationData;
@@ -94,7 +93,7 @@ public class NotificationSenderService {
try {
Notification notification = new Notification.Builder(GcmConstants.defaultIcon).title(GcmConstants.title)
.body(smsMessage.getMessage()).build();
Builder b = new Builder();
Message.Builder b = new Message.Builder();
b.notification(notification);
b.dryRun(false);
b.contentAvailable(true);