Update install Magisk method

This commit is contained in:
topjohnwu
2017-09-03 00:10:14 +08:00
parent 0bf09256b0
commit 0ec473195d
5 changed files with 119 additions and 49 deletions

View File

@@ -157,7 +157,7 @@ public class ZipUtils {
}
public static void unzip(File zip, File folder, String path, boolean junkPath) throws Exception {
JarInputStream in = new JarInputStream(new FileInputStream(zip));
InputStream in = new FileInputStream(zip);
unzip(in, folder, path, junkPath);
in.close();
}