Merge changes from topic "V-udc-dev-plus-aosp" into udc-dev-plus-aosp

* changes:
  Add VanillaIceCream to aapt2 codenames
  Revert "DO NOT MERGE: Revert "Add VanillaIceCream to android.os.Build""
This commit is contained in:
Alex Buynytskyy
2023-04-23 00:02:57 +00:00
committed by Android (Google) Code Review
3 changed files with 8 additions and 2 deletions

View File

@@ -32653,6 +32653,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 = 34; // 0x22
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 = 34;
/**
* 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},