|
|
|
@ -243,12 +243,11 @@ public class ApplicationOperationsImpl implements ApplicationOperations {
|
|
|
|
|
getDevicesOfUser(
|
|
|
|
|
applicationOperationDevice.getCurrentUser().getUsername());
|
|
|
|
|
} else {
|
|
|
|
|
//TODO: Uncomment below when device-mgt core release-2.0.x is merged with master branch.
|
|
|
|
|
/*deviceList = MDMServiceAPIUtils
|
|
|
|
|
deviceList = MDMServiceAPIUtils
|
|
|
|
|
.getDeviceManagementService(applicationOperationDevice.getTenantId()).
|
|
|
|
|
getDevicesOfUser(
|
|
|
|
|
applicationOperationDevice.getCurrentUser().getUsername(),
|
|
|
|
|
applicationOperationDevice.getPlatform());*/
|
|
|
|
|
applicationOperationDevice.getPlatform());
|
|
|
|
|
}
|
|
|
|
|
devices = new ArrayList<>(deviceList.size());
|
|
|
|
|
if(log.isDebugEnabled()){
|
|
|
|
|