Renamed getVersion() to getOdexVersion() in DexBackedOdexFile.

This commit is contained in:
Izzat Bahadirov 2013-04-29 16:27:45 -04:00
parent 64898161b3
commit 03b8247850
2 changed files with 2 additions and 2 deletions

View File

@ -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.");

View File

@ -122,7 +122,7 @@ public class DexBackedOdexFile extends DexBackedDexFile {
} }
} }
public int getVersion() { public int getOdexVersion() {
return OdexHeaderItem.getVersion(odexBuf); return OdexHeaderItem.getVersion(odexBuf);
} }