mirror of
https://github.com/revanced/smali.git
synced 2025-05-03 16:14:29 +02:00
Fix reading a dex file from a zip file
This commit is contained in:
parent
99394b3daf
commit
e7e58a6996
@ -501,7 +501,7 @@ public final class DexFileFactory {
|
||||
InputStream stream;
|
||||
stream = zipFile.getInputStream(zipEntry);
|
||||
try {
|
||||
return DexBackedDexFile.fromInputStream(opcodes, stream);
|
||||
return DexBackedDexFile.fromInputStream(opcodes, new BufferedInputStream(stream));
|
||||
} finally {
|
||||
if (stream != null) {
|
||||
stream.close();
|
||||
|
Loading…
x
Reference in New Issue
Block a user