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 f0c92c31f1..b0a5ea3f1e 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 48170683d0..197163432c 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)