diff --git a/components/extensions/org.wso2.carbon.appmgt.mdm.osgiconnector/src/main/java/org/wso2/carbon/appmgt/mdm/osgiconnector/ApplicationOperationsImpl.java b/components/extensions/org.wso2.carbon.appmgt.mdm.osgiconnector/src/main/java/org/wso2/carbon/appmgt/mdm/osgiconnector/ApplicationOperationsImpl.java index f0c92c31f..b0a5ea3f1 100644 --- a/components/extensions/org.wso2.carbon.appmgt.mdm.osgiconnector/src/main/java/org/wso2/carbon/appmgt/mdm/osgiconnector/ApplicationOperationsImpl.java +++ b/components/extensions/org.wso2.carbon.appmgt.mdm.osgiconnector/src/main/java/org/wso2/carbon/appmgt/mdm/osgiconnector/ApplicationOperationsImpl.java @@ -233,7 +233,8 @@ public class ApplicationOperationsImpl implements ApplicationOperations { List deviceList = MDMServiceAPIUtils .getDeviceManagementService(applicationOperationDevice.getTenantId()). getDevicesOfUser( - applicationOperationDevice.getCurrentUser().getUsername()); + applicationOperationDevice.getCurrentUser().getUsername(), + applicationOperationDevice.getPlatform()); devices = new ArrayList<>(deviceList.size()); if(log.isDebugEnabled()){ log.debug("device list got from mdm "+ deviceList.toString()); diff --git a/pom.xml b/pom.xml index 48170683d..197163432 100644 --- a/pom.xml +++ b/pom.xml @@ -1202,7 +1202,7 @@ 1.1.1 - 1.2.6 + 1.2.7-SNAPSHOT [1.1.1, 2.0.0)