|
|
@ -60,7 +60,6 @@ public class DeviceTypeConfigurationServiceImpl implements DeviceTypeConfigurati
|
|
|
|
PlatformConfiguration = new PlatformConfiguration();
|
|
|
|
PlatformConfiguration = new PlatformConfiguration();
|
|
|
|
configs = new ArrayList<>();
|
|
|
|
configs = new ArrayList<>();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
ConfigurationEntry entry = new ConfigurationEntry();
|
|
|
|
ConfigurationEntry entry = new ConfigurationEntry();
|
|
|
|
License license = AndroidAPIUtils.getDeviceManagementService().getLicense(
|
|
|
|
License license = AndroidAPIUtils.getDeviceManagementService().getLicense(
|
|
|
|
DeviceManagementConstants.MobileDeviceTypes.MOBILE_DEVICE_TYPE_ANDROID, AndroidConstants.
|
|
|
|
DeviceManagementConstants.MobileDeviceTypes.MOBILE_DEVICE_TYPE_ANDROID, AndroidConstants.
|
|
|
@ -110,7 +109,7 @@ public class DeviceTypeConfigurationServiceImpl implements DeviceTypeConfigurati
|
|
|
|
AndroidAPIUtils.getDeviceManagementService().saveConfiguration(configuration);
|
|
|
|
AndroidAPIUtils.getDeviceManagementService().saveConfiguration(configuration);
|
|
|
|
//AndroidAPIUtils.getGCMService().resetTenantConfigCache();
|
|
|
|
//AndroidAPIUtils.getGCMService().resetTenantConfigCache();
|
|
|
|
Response.status(Response.Status.ACCEPTED);
|
|
|
|
Response.status(Response.Status.ACCEPTED);
|
|
|
|
responseMsg.setResponseMessage("Android platform configuration has updated successfully.");
|
|
|
|
responseMsg.setResponseMessage("Android platform configuration has been updated successfully.");
|
|
|
|
responseMsg.setResponseCode(Response.Status.ACCEPTED.toString());
|
|
|
|
responseMsg.setResponseCode(Response.Status.ACCEPTED.toString());
|
|
|
|
} catch (DeviceManagementException e) {
|
|
|
|
} catch (DeviceManagementException e) {
|
|
|
|
msg = "Error occurred while modifying configuration settings of Android platform";
|
|
|
|
msg = "Error occurred while modifying configuration settings of Android platform";
|
|
|
|