Add payload to policy operation

revert-70aa11f8
manoj 10 years ago
parent 05a3244040
commit 707a8c9709

@ -117,9 +117,10 @@ public class PolicyManagerServiceImpl implements PolicyManagerService {
profileOperationList.add(profileOperation); profileOperationList.add(profileOperation);
} }
policyOperation.setProfileOperations(profileOperationList); policyOperation.setProfileOperations(profileOperationList);
policyOperation.setPayLoad(policyOperation.getProfileOperations());
PolicyManagementDataHolder.getInstance().getDeviceManagementService(). PolicyManagementDataHolder.getInstance().getDeviceManagementService().
addOperation(policyOperation, deviceIdentifiers); addOperation(policyOperation, deviceIdentifiers);
policyOperation.setPayLoad(policyOperation.getProfileOperations());
} else { } else {
return null; return null;
} }

Loading…
Cancel
Save