Repository: cordova-plugin-whitelist Updated Branches: refs/heads/master ab36e6d19 -> 6b14eb62e
Plugin uses Android Log class and not Cordova LOG class Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-whitelist/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-whitelist/commit/6b14eb62 Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-whitelist/tree/6b14eb62 Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-whitelist/diff/6b14eb62 Branch: refs/heads/master Commit: 6b14eb62e5d26f69818fc7b94f3968e883ac1b62 Parents: ab36e6d Author: Simon MacDonald <[email protected]> Authored: Mon Aug 22 16:56:47 2016 -0400 Committer: Simon MacDonald <[email protected]> Committed: Mon Aug 22 16:56:47 2016 -0400 ---------------------------------------------------------------------- src/android/WhitelistPlugin.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cordova-plugin-whitelist/blob/6b14eb62/src/android/WhitelistPlugin.java ---------------------------------------------------------------------- diff --git a/src/android/WhitelistPlugin.java b/src/android/WhitelistPlugin.java index 4e4f57e..3656788 100644 --- a/src/android/WhitelistPlugin.java +++ b/src/android/WhitelistPlugin.java @@ -21,11 +21,11 @@ package org.apache.cordova.whitelist; import org.apache.cordova.CordovaPlugin; import org.apache.cordova.ConfigXmlParser; +import org.apache.cordova.LOG; import org.apache.cordova.Whitelist; import org.xmlpull.v1.XmlPullParser; import android.content.Context; -import android.util.Log; public class WhitelistPlugin extends CordovaPlugin { private static final String LOG_TAG = "WhitelistPlugin"; @@ -90,7 +90,7 @@ public class WhitelistPlugin extends CordovaPlugin { boolean external = (xml.getAttributeValue(null, "launch-external") != null); if (origin != null) { if (external) { - Log.w(LOG_TAG, "Found <access launch-external> within config.xml. Please use <allow-intent> instead."); + LOG.w(LOG_TAG, "Found <access launch-external> within config.xml. Please use <allow-intent> instead."); allowedIntents.addWhiteListEntry(origin, (subdomains != null) && (subdomains.compareToIgnoreCase("true") == 0)); } else { if ("*".equals(origin)) { --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
