Bug 732069 - Remove library extraction from APKOpen. r=glandium,blassey
* * * Bug 718760 - Fix bustage by removing extra apk_mtime variable. r=glandium
This commit is contained in:
@@ -141,8 +141,8 @@ public class GeckoAppShell
|
||||
public static native void callObserver(String observerKey, String topic, String data);
|
||||
public static native void removeObserver(String observerKey);
|
||||
public static native void loadGeckoLibsNative(String apkName);
|
||||
public static native void loadSQLiteLibsNative(String apkName, boolean shouldExtract);
|
||||
public static native void loadNSSLibsNative(String apkName, boolean shouldExtract);
|
||||
public static native void loadSQLiteLibsNative(String apkName);
|
||||
public static native void loadNSSLibsNative(String apkName);
|
||||
public static native void onChangeNetworkLinkStatus(String status);
|
||||
|
||||
public static void registerGlobalExceptionHandler() {
|
||||
@@ -267,15 +267,6 @@ public class GeckoAppShell
|
||||
|
||||
File cacheFile = getCacheDir(context);
|
||||
putenv("GRE_HOME=" + getGREDir(context).getPath());
|
||||
File[] files = cacheFile.listFiles();
|
||||
if (files != null) {
|
||||
Iterator<File> cacheFiles = Arrays.asList(files).iterator();
|
||||
while (cacheFiles.hasNext()) {
|
||||
File libFile = cacheFiles.next();
|
||||
if (libFile.getName().endsWith(".so"))
|
||||
libFile.delete();
|
||||
}
|
||||
}
|
||||
|
||||
// setup the libs cache
|
||||
String linkerCache = System.getenv("MOZ_LINKER_CACHE");
|
||||
@@ -368,7 +359,7 @@ public class GeckoAppShell
|
||||
loadMozGlue();
|
||||
// the extract libs parameter is being removed in bug 732069
|
||||
loadLibsSetup(context);
|
||||
loadSQLiteLibsNative(apkName, false);
|
||||
loadSQLiteLibsNative(apkName);
|
||||
sSQLiteLibsLoaded = true;
|
||||
}
|
||||
}
|
||||
@@ -381,7 +372,7 @@ public class GeckoAppShell
|
||||
return;
|
||||
loadMozGlue();
|
||||
loadLibsSetup(context);
|
||||
loadNSSLibsNative(apkName, false);
|
||||
loadNSSLibsNative(apkName);
|
||||
sNSSLibsLoaded = true;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user