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

Commit 7571c0bb authored by Yurii Zubrytskyi's avatar Yurii Zubrytskyi
Browse files

[aapt2] Update the array of the attributes per release

Well, not really update but at least record the values in a
comment for now

Test: builds
Flag: EXEMPT comment-only change
Change-Id: Ib9f06bd2ba6773c76cfb11cc9583e8f76de5c01d
parent c0ff9ea6
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -64,6 +64,12 @@ static constexpr std::pair<uint16_t, ApiVersion> sAttrIdMap[] = {
    {0x0616, SDK_R},
    {0x064b, SDK_S},
    {0x064c, SDK_S_V2},
    // TODO(zyy): add these when we need more rules for converting new attributes to the
    // older ones, but don't bother for now as this would increase the array size for no
    // real benefit
    //    {0x0672, SDK_TIRAMISU},
    //    {0x0687, SDK_UPSIDE_DOWN_CAKE},
    //    {0x06a3, SDK_VANILLA_ICE_CREAM},
};

static_assert(std::is_sorted(std::begin(sAttrIdMap), std::end(sAttrIdMap),