mirror of
https://github.com/revanced/smali.git
synced 2025-06-13 12:37:37 +02:00
Make DexFileFactory return a DexBackedDexFile
This commit is contained in:
@ -45,12 +45,12 @@ import java.util.zip.ZipFile;
|
||||
|
||||
public final class DexFileFactory {
|
||||
@Nonnull
|
||||
public static DexFile loadDexFile(String path) throws IOException {
|
||||
public static DexBackedDexFile loadDexFile(String path) throws IOException {
|
||||
return loadDexFile(new File(path));
|
||||
}
|
||||
|
||||
@Nonnull
|
||||
public static DexFile loadDexFile(File dexFile) throws IOException {
|
||||
public static DexBackedDexFile loadDexFile(File dexFile) throws IOException {
|
||||
boolean isZipFile = false;
|
||||
byte[] dexBytes = null;
|
||||
ZipFile zipFile = null;
|
||||
|
Reference in New Issue
Block a user