am 06f3cd8e: Merge "Make apk entry separator compliant with jar url format" into mnc-dev
* commit '06f3cd8e8b03786851cc6c9b79487c9c8516e883': Make apk entry separator compliant with jar url format
This commit is contained in:
@@ -333,8 +333,8 @@ public final class WebViewFactory {
|
||||
newVmSize = Math.max(newVmSize, f.length());
|
||||
continue;
|
||||
}
|
||||
if (path.contains("!")) {
|
||||
String[] split = TextUtils.split(path, "!");
|
||||
if (path.contains("!/")) {
|
||||
String[] split = TextUtils.split(path, "!/");
|
||||
if (split.length == 2) {
|
||||
try {
|
||||
ZipFile z = new ZipFile(split[0]);
|
||||
@@ -384,7 +384,7 @@ public final class WebViewFactory {
|
||||
ZipEntry e = z.getEntry(entry);
|
||||
if (e != null && e.getMethod() == ZipEntry.STORED) {
|
||||
// Return a path formatted for dlopen() load from APK.
|
||||
return apkPath + "!" + entry;
|
||||
return apkPath + "!/" + entry;
|
||||
}
|
||||
}
|
||||
} catch (IOException e) {
|
||||
|
||||
Reference in New Issue
Block a user