Add payload to policy operation

This commit is contained in:
manoj 2015-05-30 02:22:03 +05:30
parent 05a3244040
commit 707a8c9709

View File

@ -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;
} }