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:
Shravan Narayan 2013-05-16 15:41:59 -04:00
parent 8f91ebf194
commit 13148728b3

View File

@ -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)