OSDN Git Service

AAPT2: Add the rest of supported manifest elements
authorRyan Mitchell <rtmitchell@google.com>
Fri, 7 Sep 2018 21:33:14 +0000 (14:33 -0700)
committerRyan Mitchell <rtmitchell@google.com>
Fri, 7 Sep 2018 22:19:53 +0000 (15:19 -0700)
commit28afe682cd84c894c4da880ace41db77268400c4
tree9954502d61ed2b24eb5d127ca0aa812d4eb75103
parenta1a74cb44d1f6dd0962d0e7ef1bc0b4474fbb50c
AAPT2: Add the rest of supported manifest elements

Adds elemnts that are parsed in PackageParser to the manifest parsing of
AAPT2.

<package> found in <manifest>
<preferred> found in <manifest><application><activity>

Bug: 79755007
Test: manual building of broken targets listed in the bug
Change-Id: Ic7d17e62d04aa46757d2ed7482ec0aff93ce9ee5
tools/aapt2/link/ManifestFixer.cpp