mirror of
https://repository.entgra.net/community/device-mgt-plugins.git
synced 2025-09-16 23:42:15 +00:00
Merge branch 'master' of https://github.com/wso2/carbon-device-mgt-plugins
This commit is contained in:
commit
2a256d7d67
@ -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));
|
||||
|
||||
Loading…
Reference in New Issue
Block a user