diff --git a/framework/src/com/phonegap/api/PluginManager.java b/framework/src/com/phonegap/api/PluginManager.java index 2addf3af..fd666a56 100755 --- a/framework/src/com/phonegap/api/PluginManager.java +++ b/framework/src/com/phonegap/api/PluginManager.java @@ -140,15 +140,7 @@ public final class PluginManager { @SuppressWarnings("unchecked") private boolean isPhoneGapPlugin(Class c) { if (c != null) { - if (c.getSuperclass().getName().equals("com.phonegap.api.Plugin")) { - return true; - } - Class[] interfaces = c.getInterfaces(); - for (int j=0; j