|
|
@ -115,9 +115,8 @@ public class WindowsDeviceManager implements DeviceManager {
|
|
|
|
public TenantConfiguration getConfiguration() throws DeviceManagementException {
|
|
|
|
public TenantConfiguration getConfiguration() throws DeviceManagementException {
|
|
|
|
Resource resource;
|
|
|
|
Resource resource;
|
|
|
|
try {
|
|
|
|
try {
|
|
|
|
String windowsTenantRegistryPath =
|
|
|
|
String windowsTenantRegistryPath = MobileDeviceManagementUtil.
|
|
|
|
MobileDeviceManagementUtil.getPlatformConfigPath(DeviceManagementConstants.
|
|
|
|
getPlatformConfigPath(DeviceManagementConstants.MobileDeviceTypes.MOBILE_DEVICE_TYPE_WINDOWS);
|
|
|
|
MobileDeviceTypes.MOBILE_DEVICE_TYPE_WINDOWS);
|
|
|
|
|
|
|
|
resource = MobileDeviceManagementUtil.getRegistryResource(windowsTenantRegistryPath);
|
|
|
|
resource = MobileDeviceManagementUtil.getRegistryResource(windowsTenantRegistryPath);
|
|
|
|
if (resource != null) {
|
|
|
|
if (resource != null) {
|
|
|
|
JAXBContext context = JAXBContext.newInstance(TenantConfiguration.class);
|
|
|
|
JAXBContext context = JAXBContext.newInstance(TenantConfiguration.class);
|
|
|
|