Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e422b7da authored by Colin Cross's avatar Colin Cross Committed by Paul Duffin
Browse files

Add UpsideDownCake to aapt2 codenames and android.os.Build

Bug: 219519679#
Bug: 269470863
Test: m checkbuild
Change-Id: I2b668d1cd875657b27a1d52bda21f238d7020862
(cherry picked from commit d27566da)
Merged-In: I2b668d1cd875657b27a1d52bda21f238d7020862
parent 28d1e6cd
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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 {
+5 −0
Original line number Diff line number Diff line
@@ -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". */
+1 −1
Original line number Diff line number Diff line
@@ -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},