|
|
@ -135,8 +135,11 @@ public class MonitoringTask implements Task {
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
private boolean isPlatformExist(String deviceType) {
|
|
|
|
private boolean isPlatformExist(String deviceType) {
|
|
|
|
PolicyConfiguration policyConfiguration =
|
|
|
|
PolicyMonitoringManager policyMonitoringManager = PolicyManagementDataHolder.getInstance()
|
|
|
|
DeviceConfigurationManager.getInstance().getDeviceManagementConfig().getPolicyConfiguration();
|
|
|
|
.getDeviceManagementService().getPolicyMonitoringManager(deviceType);
|
|
|
|
return (policyConfiguration.getPlatforms().contains(deviceType));
|
|
|
|
if (policyMonitoringManager != null) {
|
|
|
|
|
|
|
|
return true;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|