From ff27ad332b3bd6cc0a17f5bb49cf239b4daa43d1 Mon Sep 17 00:00:00 2001 From: Joe Bowser Date: Tue, 9 Jul 2013 15:13:15 -0700 Subject: [PATCH] CB-3172: Killing the deprecation notice in Android, waiting for plugman fixes before removing the empty tags --- framework/src/org/apache/cordova/PluginManager.java | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/framework/src/org/apache/cordova/PluginManager.java b/framework/src/org/apache/cordova/PluginManager.java index 90f03072..40918f5a 100755 --- a/framework/src/org/apache/cordova/PluginManager.java +++ b/framework/src/org/apache/cordova/PluginManager.java @@ -123,15 +123,7 @@ public class PluginManager { while (eventType != XmlResourceParser.END_DOCUMENT) { if (eventType == XmlResourceParser.START_TAG) { String strNode = xml.getName(); - //This is for the old scheme - if (strNode.equals("plugin")) { - service = xml.getAttributeValue(null, "name"); - pluginClass = xml.getAttributeValue(null, "value"); - Log.d(TAG, " tags are deprecated, please use instead. will no longer work as of Cordova 3.0"); - onload = "true".equals(xml.getAttributeValue(null, "onload")); - } - //What is this? - else if (strNode.equals("url-filter")) { + if (strNode.equals("url-filter")) { this.urlMap.put(xml.getAttributeValue(null, "value"), service); } else if (strNode.equals("feature")) {