Correcting wrong logic for retrieving apps in appm

revert-dabc3590
Ace 7 years ago
parent f7fc300b21
commit 8f6b65946a

@ -259,7 +259,11 @@ public class ApplicationOperationsImpl implements ApplicationOperations {
deviceList = MDMServiceAPIUtils
.getDeviceManagementService(applicationOperationDevice.getTenantId()).
getDevicesOfUser(applicationOperationDevice.getCurrentUser().getUsername(),
applicationOperationDevice.getPlatform());
MDMAppConstants.ANDROID);
deviceList.addAll(MDMServiceAPIUtils
.getDeviceManagementService(applicationOperationDevice.getTenantId()).
getDevicesOfUser(applicationOperationDevice.getCurrentUser().getUsername(),
MDMAppConstants.IOS));
}
devices = new ArrayList<>(deviceList.size());
if(log.isDebugEnabled()){

Loading…
Cancel
Save