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

Commit ba972c71 authored by Aaron Huang's avatar Aaron Huang
Browse files

Add <staging-public-group> tags to T

To prevent apps from having to respin atomically with SDK finalization,
<staging-public-group> must be created with type ids that do not
overlap the public resource id namespace.

Test: builds, aapt2_tests
Merged-In: Ia7835d04d988127d061d3a454b8391294346a915
Change-Id: Icf5c56e9bc7dea28d018acf7f9ae5c9d4e3eba31
parent 39b28bca
Loading
Loading
Loading
Loading
+82 −0
Original line number Diff line number Diff line
@@ -3220,4 +3220,86 @@
  <public type="id" name="accessibilityActionDragDrop" id="0x01020056" />
  <public type="id" name="accessibilityActionDragCancel" id="0x01020057" />

    <!-- ===============================================================
         Resources added in version T of the platform

         NOTE: add <public> elements within a <staging-public-group> like so:

         <staging-public-group type="attr" first-id="0x01ff0000">
             <public name="exampleAttr1" />
             <public name="exampleAttr2" />
         </staging-public-group>

         To add a new <staging-public-group> block, find the id value for the
         last <staging-public-group> block defined for thie API level, and
         subtract 0x00010000 from it to get to the id of the new block.

         For example, if the block closest to the end of this file has an id
         of 0x01ee0000, the id of the new block should be 0x01ed0000
         (0x01ee0000 - 0x00010000 = 0x01ed0000).
         =============================================================== -->
    <eat-comment />

    <staging-public-group type="attr" first-id="0x01df0000">
    </staging-public-group>

    <staging-public-group type="id" first-id="0x01de0000">
    </staging-public-group>

    <staging-public-group type="style" first-id="0x0dfd0000">
    </staging-public-group>

    <staging-public-group type="string" first-id="0x0dfc0000">
    </staging-public-group>

    <staging-public-group type="dimen" first-id="0x01db0000">
    </staging-public-group>

    <staging-public-group type="color" first-id="0x01da0000">
    </staging-public-group>

    <staging-public-group type="array" first-id="0x01d90000">
    </staging-public-group>

    <staging-public-group type="drawable" first-id="0x01d80000">
    </staging-public-group>

    <staging-public-group type="layout" first-id="0x01d70000">
    </staging-public-group>

    <staging-public-group type="anim" first-id="0x01d60000">
    </staging-public-group>

    <staging-public-group type="animator" first-id="0x01d50000">
    </staging-public-group>

    <staging-public-group type="interpolator" first-id="0x01d40000">
    </staging-public-group>

    <staging-public-group type="mipmap" first-id="0x01d30000">
    </staging-public-group>

    <staging-public-group type="integer" first-id="0x01d20000">
    </staging-public-group>

    <staging-public-group type="transition" first-id="0x01d10000">
    </staging-public-group>

    <staging-public-group type="raw" first-id="0x01d00000">
    </staging-public-group>

    <staging-public-group type="bool" first-id="0x01cf0000">
    </staging-public-group>

    <staging-public-group type="fraction" first-id="0x01ce0000">
    </staging-public-group>

  <!-- ===============================================================
       DO NOT ADD UN-GROUPED ITEMS HERE

       Any new items (attrs, styles, ids, etc.) *must* be added in a
       staging-public-group block, as the preceding comment explains.
       Items added outside of a group may have their value recalculated
       every time something new is added to this file.
       =============================================================== -->
</resources>