From b7f3691d90730cee860b85dafffb1f3c30bfbdbd Mon Sep 17 00:00:00 2001 From: geethkokila Date: Sun, 27 Nov 2016 07:40:44 +0530 Subject: [PATCH] Fixing the app manager issue by calling the correct getDevices method --- .../appmgt/mdm/osgiconnector/ApplicationOperationsImpl.java | 3 ++- pom.xml | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) 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)