mirror of
https://github.com/revanced/smali.git
synced 2025-05-05 17:14:25 +02:00
Renamed getVersion() to getOdexVersion() in DexBackedOdexFile.
This commit is contained in:
parent
64898161b3
commit
03b8247850
@ -93,7 +93,7 @@ public class baksmali {
|
|||||||
if (inlineTable != null) {
|
if (inlineTable != null) {
|
||||||
options.inlineResolver = new CustomInlineMethodResolver(options.classPath, new File(inlineTable));
|
options.inlineResolver = new CustomInlineMethodResolver(options.classPath, new File(inlineTable));
|
||||||
} else if (dexFile instanceof DexBackedOdexFile) {
|
} else if (dexFile instanceof DexBackedOdexFile) {
|
||||||
options.inlineResolver = InlineMethodResolver.createInlineMethodResolver(((DexBackedOdexFile) dexFile).getVersion());
|
options.inlineResolver = InlineMethodResolver.createInlineMethodResolver(((DexBackedOdexFile) dexFile).getOdexVersion());
|
||||||
}
|
}
|
||||||
} catch (Exception ex) {
|
} catch (Exception ex) {
|
||||||
System.err.println("\n\nError occured while loading boot class path files. Aborting.");
|
System.err.println("\n\nError occured while loading boot class path files. Aborting.");
|
||||||
|
@ -122,7 +122,7 @@ public class DexBackedOdexFile extends DexBackedDexFile {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public int getVersion() {
|
public int getOdexVersion() {
|
||||||
return OdexHeaderItem.getVersion(odexBuf);
|
return OdexHeaderItem.getVersion(odexBuf);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user