You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by bo...@apache.org on 2013/07/10 00:13:26 UTC
android commit: CB-3172: Killing the deprecation notice in Android,
waiting for plugman fixes before removing the empty tags
Updated Branches:
refs/heads/master 85bad87c1 -> ff27ad332
CB-3172: Killing the deprecation notice in Android, waiting for plugman fixes before removing the empty tags
Project: http://git-wip-us.apache.org/repos/asf/cordova-android/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-android/commit/ff27ad33
Tree: http://git-wip-us.apache.org/repos/asf/cordova-android/tree/ff27ad33
Diff: http://git-wip-us.apache.org/repos/asf/cordova-android/diff/ff27ad33
Branch: refs/heads/master
Commit: ff27ad332b3bd6cc0a17f5bb49cf239b4daa43d1
Parents: 85bad87
Author: Joe Bowser <bo...@apache.org>
Authored: Tue Jul 9 15:13:15 2013 -0700
Committer: Joe Bowser <bo...@apache.org>
Committed: Tue Jul 9 15:13:15 2013 -0700
----------------------------------------------------------------------
framework/src/org/apache/cordova/PluginManager.java | 10 +---------
1 file changed, 1 insertion(+), 9 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-android/blob/ff27ad33/framework/src/org/apache/cordova/PluginManager.java
----------------------------------------------------------------------
diff --git a/framework/src/org/apache/cordova/PluginManager.java b/framework/src/org/apache/cordova/PluginManager.java
index 90f0307..40918f5 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, "<plugin> tags are deprecated, please use <features> instead. <plugin> 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")) {