Rasika Perera 7 years ago
parent 5783a74110
commit e254d4ccc8

@ -558,7 +558,7 @@ public class DeviceManagementProviderServiceImpl implements DeviceManagementProv
DeviceManagementDAOFactory.closeConnection(); DeviceManagementDAOFactory.closeConnection();
} }
if (requireDeviceInfo) { if (!allDevices.isEmpty() && requireDeviceInfo) {
return this.getAllDeviceInfo(allDevices); return this.getAllDeviceInfo(allDevices);
} }
return allDevices; return allDevices;

Loading…
Cancel
Save