Make DexFileFactory return a DexBackedDexFile

This commit is contained in:
Ben Gruver
2013-02-24 14:57:08 -08:00
parent 50ef7eda3f
commit a78d169848
2 changed files with 4 additions and 4 deletions

View File

@ -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;