Skip to content
Permalink
Browse files

Update the version map to reflect the released version of api 28

  • Loading branch information...
JesusFreke committed Aug 7, 2019
1 parent 1ac14a1 commit a29a420d2f640e24cf95a2231af79429ca7a9e09
Showing with 1 addition and 2 deletions.
  1. +1 −2 dexlib2/src/main/java/org/jf/dexlib2/VersionMap.java
@@ -63,8 +63,7 @@ public static int mapApiToDexVersion(int api) {
}

public static int mapArtVersionToApi(int artVersion) {
// 144 is the current version in the master branch of AOSP as of 2018-05-22
if (artVersion >= 144) {
if (artVersion >= 138) {
return 28;
}
if (artVersion >= 131) {

2 comments on commit a29a420

@ale5000-git

This comment has been minimized.

Copy link
Contributor

replied Aug 8, 2019

@JesusFreke
Probably a case 28 is needed here:

@JesusFreke

This comment has been minimized.

Copy link
Owner Author

replied Aug 8, 2019

Yeah, looks like I missed that. There are a couple of other minor fixes I found after the release that I want to fix too, so I'll probably do a 2.3.1 next week.

Please sign in to comment.
You can’t perform that action at this time.