mirror of
https://repository.entgra.net/community/device-mgt-plugins.git
synced 2025-09-16 23:42:15 +00:00
Fixing regression issues
This commit is contained in:
parent
ac9b1e896a
commit
6feed8b9e6
@ -131,7 +131,7 @@ public class AndroidDeviceManager implements DeviceManager {
|
|||||||
MobileDeviceTypes.MOBILE_DEVICE_TYPE_ANDROID);
|
MobileDeviceTypes.MOBILE_DEVICE_TYPE_ANDROID);
|
||||||
resource = MobileDeviceManagementUtil.getRegistryResource(androidRegPath);
|
resource = MobileDeviceManagementUtil.getRegistryResource(androidRegPath);
|
||||||
if (resource != null) {
|
if (resource != null) {
|
||||||
XMLInputFactory factory = XMLInputFactory.newFactory();
|
XMLInputFactory factory = XMLInputFactory.newInstance();
|
||||||
factory.setProperty(XMLInputFactory.IS_SUPPORTING_EXTERNAL_ENTITIES, false);
|
factory.setProperty(XMLInputFactory.IS_SUPPORTING_EXTERNAL_ENTITIES, false);
|
||||||
factory.setProperty(XMLInputFactory.SUPPORT_DTD, false);
|
factory.setProperty(XMLInputFactory.SUPPORT_DTD, false);
|
||||||
XMLStreamReader reader = factory.createXMLStreamReader(
|
XMLStreamReader reader = factory.createXMLStreamReader(
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user