Bug 713228 - Add bridge to access our own SQLite libraries from Java. r=blassey

This commit is contained in:
Gian-Carlo Pascutto
2012-01-19 21:19:56 +01:00
parent 82bba86e32
commit 835c56dcae
13 changed files with 745 additions and 132 deletions

View File

@@ -86,8 +86,9 @@ public class GeckoThread extends Thread {
// At some point while loading the gecko libs our default locale gets set
// so just save it to locale here and reset it as default after the join
Locale locale = Locale.getDefault();
GeckoAppShell.loadGeckoLibs(
app.getApplication().getPackageResourcePath());
String resourcePath = app.getApplication().getPackageResourcePath();
GeckoAppShell.ensureSQLiteLibsLoaded(resourcePath);
GeckoAppShell.loadGeckoLibs(resourcePath);
Locale.setDefault(locale);
Resources res = app.getBaseContext().getResources();
Configuration config = res.getConfiguration();