mirror of
https://github.com/revanced/Apktool.git
synced 2024-12-11 21:37:47 +01:00
fix: add support for proper API 31/S (12) + API 32/T (13)
This commit is contained in:
parent
aa5d951708
commit
b80d13b56a
@ -671,6 +671,9 @@ final public class AndrolibResources {
|
||||
return ResConfigFlags.SDK_R;
|
||||
case "S":
|
||||
return ResConfigFlags.SDK_S;
|
||||
case "T":
|
||||
case "Tiramisu":
|
||||
return ResConfigFlags.SDK_DEVELOPMENT;
|
||||
default:
|
||||
return Integer.parseInt(sdkVersion);
|
||||
}
|
||||
|
@ -536,6 +536,8 @@ public class ResConfigFlags {
|
||||
public final static byte SDK_P = 28;
|
||||
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;
|
||||
|
||||
// AOSP has this as 10,000 for dev purposes.
|
||||
// platform_frameworks_base/commit/c7a1109a1fe0771d4c9b572dcf178e2779fc4f2d
|
||||
|
Loading…
Reference in New Issue
Block a user