FINERACT-822 enable BadImport error check
This commit is contained in:
committed by
Michael Vorburger ⛑️
parent
a72c2f4e47
commit
cf4acffb01
+1
-2
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user