Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
Fix XMl parsing broken by superclass refactor (XmlResourceParser->Xml…
…PullParser)
  • Loading branch information
jpchase authored and agrieve committed Mar 20, 2015
1 parent a1ceb66 commit 6a3d2cb3567435d639e62c2c0992c26bb9468a18
Showing 1 changed file with 4 additions and 2 deletions.
@@ -40,7 +40,8 @@ public void initialize(CordovaInterface cordova, CordovaWebView webView) {
internalWhitelist.addWhiteListEntry("data:*", false);

new ConfigXmlParser(){
public void handleStartTag(XmlResourceParser xml) {
@Override
public void handleStartTag(XmlPullParser xml) {
String strNode = xml.getName();
if (strNode.equals("access")) {
String origin = xml.getAttributeValue(null, "origin");
@@ -63,7 +64,8 @@ public void handleStartTag(XmlResourceParser xml) {
}
}
}
public void handleEndTag(XmlResourceParser xml) {
@Override
public void handleEndTag(XmlPullParser xml) {
}
}.parse(cordova.getActivity());
}

0 comments on commit 6a3d2cb

Please sign in to comment.