Merge "Add UpsideDownCake to aapt2 codenames and android.os.Build" into tm-dev-plus-aosp am: c3a19b4dda

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/17915199

Change-Id: I674db61ab15aae812e6be72ef343d9518fed87c0
Ignore-AOSP-First: this is an automerge
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
TreeHugger Robot
2022-04-22 22:59:01 +00:00
committed by Automerger Merge Worker
3 changed files with 7 additions and 1 deletions

View File

@@ -30978,6 +30978,7 @@ package android.os {
field public static final int S = 31; // 0x1f
field public static final int S_V2 = 32; // 0x20
field public static final int TIRAMISU = 33; // 0x21
field public static final int UPSIDE_DOWN_CAKE = 10000; // 0x2710
}
public final class Bundle extends android.os.BaseBundle implements java.lang.Cloneable android.os.Parcelable {

View File

@@ -1167,6 +1167,11 @@ public class Build {
* Tiramisu.
*/
public static final int TIRAMISU = 33;
/**
* Upside Down Cake.
*/
public static final int UPSIDE_DOWN_CAKE = CUR_DEVELOPMENT;
}
/** The type of build, like "user" or "eng". */

View File

@@ -27,7 +27,7 @@ namespace aapt {
static ApiVersion sDevelopmentSdkLevel = 10000;
static const auto sDevelopmentSdkCodeNames =
std::unordered_set<StringPiece>({"Q", "R", "S", "Sv2", "Tiramisu"});
std::unordered_set<StringPiece>({"Q", "R", "S", "Sv2", "Tiramisu", "UpsideDownCake"});
static const std::vector<std::pair<uint16_t, ApiVersion>> sAttrIdMap = {
{0x021c, 1},