Added null checks for empty regid scenarios as a fix for MDM-396

revert-dabc3590
harshanl 9 years ago
parent 889598c3b3
commit fc7776d736

@ -123,6 +123,9 @@ public class GCMUtil {
//Set device reg-ids
JsonArray regIds = new JsonArray();
for (String regId : registrationIds) {
if (regId == null && regId.isEmpty()) {
continue;
}
regIds.add(new JsonPrimitive(regId));
}

Loading…
Cancel
Save