This commit is contained in:
prabathabey 2015-12-23 15:51:52 +05:30
commit 2a256d7d67

View File

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