|
|
@ -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(
|
|
|
|