Merge changes from topic "V"

* changes:
  Add VanillaIceCream to android.os.Build
  Add VanillaIceCream to aapt2 codenames
This commit is contained in:
Colin Cross
2023-04-26 00:23:54 +00:00
committed by Gerrit Code Review
3 changed files with 8 additions and 2 deletions

View File

@@ -31081,6 +31081,7 @@ package android.os {
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
field public static final int VANILLA_ICE_CREAM = 10000; // 0x2710
}
public final class Bundle extends android.os.BaseBundle implements java.lang.Cloneable android.os.Parcelable {

View File

@@ -1223,6 +1223,11 @@ public class Build {
* Upside Down Cake.
*/
public static final int UPSIDE_DOWN_CAKE = CUR_DEVELOPMENT;
/**
* Vanilla Ice Cream.
*/
public static final int VANILLA_ICE_CREAM = CUR_DEVELOPMENT;
}
/** The type of build, like "user" or "eng". */

View File

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