File tree Expand file tree Collapse file tree 3 files changed +7
-1
lines changed
brut.apktool/apktool-lib/src/main Expand file tree Collapse file tree 3 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ public class ApkInfo implements YamlSerializable {
35
35
"AndroidManifest\\ .xml|META-INF/[^/]+\\ .(RSA|SF|MF)|stamp-cert-sha256" );
36
36
37
37
public final static Pattern STANDARD_FILENAMES_PATTERN = Pattern .compile (
38
- "[^/]+\\ .dex|resources\\ .arsc|(" + String .join ("|" , RESOURCES_DIRNAMES ) + "|" +
38
+ "[^/]+\\ .dex|resources\\ .arsc|(" + String .join ("|" , RESOURCES_DIRNAMES ) + "|" +
39
39
String .join ("|" , RAW_DIRNAMES ) + ")/.*|" + ORIGINAL_FILENAMES_PATTERN .pattern ());
40
40
41
41
// only set when loaded from a file (not a stream)
@@ -180,6 +180,8 @@ private int mapSdkShorthandToVersion(String sdkVersion) {
180
180
case "VANILLAICECREAM" :
181
181
case "VANILLA_ICE_CREAM" :
182
182
return ResConfigFlags .SDK_VANILLA_ICE_CREAM ;
183
+ case "BAKLAVA" :
184
+ return ResConfigFlags .SDK_BAKLAVA ;
183
185
case "SDK_CUR_DEVELOPMENT" :
184
186
return ResConfigFlags .SDK_DEVELOPMENT ;
185
187
default :
Original file line number Diff line number Diff line change @@ -571,6 +571,10 @@ public int hashCode() {
571
571
public final static byte SDK_UPSIDEDOWN_CAKE = 34 ;
572
572
public final static byte SDK_VANILLA_ICE_CREAM = 35 ;
573
573
574
+ // AOSP changed Build IDs during QPR2 of API 34 (Upsidedown Cake), restarting at A.
575
+ // However, API 35 (Vanilla) took letter A (AP2A), so we start at B.
576
+ public final static byte SDK_BAKLAVA = 36 ;
577
+
574
578
// AOSP has this as 10,000 for dev purposes.
575
579
// platform_frameworks_base/commit/c7a1109a1fe0771d4c9b572dcf178e2779fc4f2d
576
580
public final static int SDK_DEVELOPMENT = 10000 ;
You can’t perform that action at this time.
0 commit comments