Bug 703069 - Do a better job of guessing plugin package name r=blassey

This commit is contained in:
James Willcox
2011-11-17 13:26:08 -05:00
parent 9d959bc3a5
commit 25c419c09b
2 changed files with 18 additions and 2 deletions

View File

@@ -1274,8 +1274,7 @@ public class GeckoAppShell
Log.i(LOGTAG, "libName: " + libName);
try {
String[] split = libName.split("/");
String packageName = split[split.length - 3];
String packageName = GeckoApp.mAppContext.getPluginPackage(libName);
Log.i(LOGTAG, "load \"" + className + "\" from \"" + packageName +
"\" for \"" + libName + "\"");
Context pluginContext =