mirror of
https://repository.entgra.net/community/device-mgt-plugins.git
synced 2025-09-16 23:42:15 +00:00
Correcting wrong logic for retrieving apps in appm
This commit is contained in:
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…
Reference in New Issue
Block a user