mirror of
https://github.com/apache/cordova-android.git
synced 2025-02-26 12:03:28 +08:00
Bugfix: Config parser for plugins with onload param.
The functionality was broken in the move from plugins to feature tags.
This commit is contained in:
parent
8f91ebf194
commit
13148728b3
@ -138,7 +138,7 @@ public class PluginManager {
|
|||||||
else if (paramType.equals("package") || paramType.equals("android-package"))
|
else if (paramType.equals("package") || paramType.equals("android-package"))
|
||||||
pluginClass = xml.getAttributeValue(null,"value");
|
pluginClass = xml.getAttributeValue(null,"value");
|
||||||
else if (paramType.equals("onload"))
|
else if (paramType.equals("onload"))
|
||||||
onload = "true".equals(xml.getAttributeValue(null, "onload"));
|
onload = "true".equals(xml.getAttributeValue(null, "value"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (eventType == XmlResourceParser.END_TAG)
|
else if (eventType == XmlResourceParser.END_TAG)
|
||||||
|
Loading…
Reference in New Issue
Block a user