mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
fix for the iOS device operations blocker
This commit is contained in:
parent
2e71c21378
commit
5bd879545b
@ -164,14 +164,15 @@ public class DeviceManagementPluginRepository implements DeviceManagerStartupLis
|
||||
|
||||
@Override
|
||||
public void notifyObserver() {
|
||||
String deviceTypeName;
|
||||
synchronized (providers) {
|
||||
for (DeviceManagementService provider : providers.values()) {
|
||||
try {
|
||||
provider.init();
|
||||
|
||||
deviceTypeName = provider.getType().toLowerCase();
|
||||
ProvisioningConfig provisioningConfig = provider.getProvisioningConfig();
|
||||
int tenantId = DeviceManagerUtil.getTenantId(provisioningConfig.getProviderTenantDomain());
|
||||
DeviceManagerUtil.registerDeviceType(provider.getType(), tenantId, provisioningConfig.isSharedWithAllTenants());
|
||||
DeviceManagerUtil.registerDeviceType(deviceTypeName, tenantId, provisioningConfig.isSharedWithAllTenants());
|
||||
registerPushNotificationStrategy(provider);
|
||||
//TODO:
|
||||
//This is a temporory fix.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user