feat: support for Android Baklava Developer Preview 1 (#3728)

This commit is contained in:
Connor Tumbleson 2024-11-20 05:59:06 -05:00 committed by GitHub
parent 1eb1daf12a
commit f85f9b3b60
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 7 additions and 1 deletions

View File

@ -180,6 +180,8 @@ public class ApkInfo implements YamlSerializable {
case "VANILLAICECREAM":
case "VANILLA_ICE_CREAM":
return ResConfigFlags.SDK_VANILLA_ICE_CREAM;
case "BAKLAVA":
return ResConfigFlags.SDK_BAKLAVA;
case "SDK_CUR_DEVELOPMENT":
return ResConfigFlags.SDK_DEVELOPMENT;
default:

View File

@ -571,6 +571,10 @@ public class ResConfigFlags {
public final static byte SDK_UPSIDEDOWN_CAKE = 34;
public final static byte SDK_VANILLA_ICE_CREAM = 35;
// AOSP changed Build IDs during QPR2 of API 34 (Upsidedown Cake), restarting at A.
// However, API 35 (Vanilla) took letter A (AP2A), so we start at B.
public final static byte SDK_BAKLAVA = 36;
// AOSP has this as 10,000 for dev purposes.
// platform_frameworks_base/commit/c7a1109a1fe0771d4c9b572dcf178e2779fc4f2d
public final static int SDK_DEVELOPMENT = 10000;