Remove device details loading while processing policies

master
Pahansith Gunathilake 2 years ago committed by pramilaniroshan
parent d715609b53
commit 9644dda7ef

@ -1038,7 +1038,7 @@ public class PolicyManagerImpl implements PolicyManager {
.getInstance().getDeviceManagementService();
List<Device> allDevices;
try {
allDevices = deviceManagementService.getAllDevices();
allDevices = deviceManagementService.getAllDevices(false);
} catch (DeviceManagementException e) {
throw new PolicyManagementException("Error occurred while getting the devices related to policy id (" +
policyId + ")", e);

Loading…
Cancel
Save