|
|
@ -259,7 +259,11 @@ public class ApplicationOperationsImpl implements ApplicationOperations {
|
|
|
|
deviceList = MDMServiceAPIUtils
|
|
|
|
deviceList = MDMServiceAPIUtils
|
|
|
|
.getDeviceManagementService(applicationOperationDevice.getTenantId()).
|
|
|
|
.getDeviceManagementService(applicationOperationDevice.getTenantId()).
|
|
|
|
getDevicesOfUser(applicationOperationDevice.getCurrentUser().getUsername(),
|
|
|
|
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());
|
|
|
|
devices = new ArrayList<>(deviceList.size());
|
|
|
|
if(log.isDebugEnabled()){
|
|
|
|
if(log.isDebugEnabled()){
|
|
|
|