mirror of
https://github.com/revanced/Apktool.git
synced 2024-12-04 18:12:54 +01:00
parent
1713495ea7
commit
7621fdb79c
@ -617,13 +617,15 @@ final public class AndrolibResources {
|
||||
}
|
||||
|
||||
private int mapSdkShorthandToVersion(String sdkVersion) {
|
||||
switch (sdkVersion) {
|
||||
switch (sdkVersion.toUpperCase()) {
|
||||
case "M":
|
||||
return ResConfigFlags.SDK_MNC;
|
||||
case "N":
|
||||
return ResConfigFlags.SDK_NOUGAT;
|
||||
case "O":
|
||||
return ResConfigFlags.SDK_OREO;
|
||||
case "P":
|
||||
return ResConfigFlags.SDK_P;
|
||||
default:
|
||||
return Integer.parseInt(sdkVersion);
|
||||
}
|
||||
|
@ -535,6 +535,8 @@ public class ResConfigFlags {
|
||||
public final static byte SDK_NOUGAT = 24;
|
||||
public final static byte SDK_NOUGAT_MR1 = 25;
|
||||
public final static byte SDK_OREO = 26;
|
||||
public final static byte SDK_OREO_MR1 = 27;
|
||||
public final static byte SDK_P = 28;
|
||||
|
||||
public final static byte ORIENTATION_ANY = 0;
|
||||
public final static byte ORIENTATION_PORT = 1;
|
||||
|
Loading…
Reference in New Issue
Block a user