diff --git a/brut.apktool/apktool-lib/src/main/java/brut/androlib/res/AndrolibResources.java b/brut.apktool/apktool-lib/src/main/java/brut/androlib/res/AndrolibResources.java index 427180f6..452751e5 100644 --- a/brut.apktool/apktool-lib/src/main/java/brut/androlib/res/AndrolibResources.java +++ b/brut.apktool/apktool-lib/src/main/java/brut/androlib/res/AndrolibResources.java @@ -664,8 +664,10 @@ final public class AndrolibResources { return ResConfigFlags.SDK_R; case "S": return ResConfigFlags.SDK_S; + case "SV2": + return ResConfigFlags.SDK_S_V2; case "T": - case "Tiramisu": + case "TIRAMISU": return ResConfigFlags.SDK_DEVELOPMENT; default: return Integer.parseInt(sdkVersion); diff --git a/brut.apktool/apktool-lib/src/main/java/brut/androlib/res/data/ResConfigFlags.java b/brut.apktool/apktool-lib/src/main/java/brut/androlib/res/data/ResConfigFlags.java index b41ca639..40963eba 100644 --- a/brut.apktool/apktool-lib/src/main/java/brut/androlib/res/data/ResConfigFlags.java +++ b/brut.apktool/apktool-lib/src/main/java/brut/androlib/res/data/ResConfigFlags.java @@ -537,7 +537,8 @@ public class ResConfigFlags { public final static byte SDK_Q = 29; public final static byte SDK_R = 30; public final static byte SDK_S = 31; - public final static byte SDK_T = 32; + public final static byte SDK_S_V2 = 32; + public final static byte SDK_T = 33; // AOSP has this as 10,000 for dev purposes. // platform_frameworks_base/commit/c7a1109a1fe0771d4c9b572dcf178e2779fc4f2d