fixing the operations not getting applied to multiple devices 80, 73

revert-dabc3590
inoshperera 8 years ago
parent dcc062faad
commit 532f66ebc5

@ -122,9 +122,10 @@ public class AndroidAPIUtils {
throw new BadRequestException(
new ErrorResponse.ErrorResponseBuilder().setCode(400l).setMessage(errorMessage).build());
}
DeviceIdentifier deviceIdentifier = new DeviceIdentifier();
DeviceIdentifier deviceIdentifier;
List<DeviceIdentifier> deviceids = new ArrayList<>();
for (String deviceId : deviceIDs) {
deviceIdentifier = new DeviceIdentifier();
deviceIdentifier.setId(deviceId);
deviceIdentifier.setType(AndroidConstants.DEVICE_TYPE_ANDROID);
deviceids.add(deviceIdentifier);

Loading…
Cancel
Save