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)
committerColin Cross <ccross@android.com>
Fri, 14 Sep 2018 05:12:37 +0000 (22:12 -0700)
commit00d5548355ed5a15219ad848ab7a947ea54f82de
tree49f1b8b155c999aae5a2263a195efee25377a48f
parent48d009ad321efff9e3b43e1f5fc7477dc78a3ae4
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
Merged-In: Ic7d17e62d04aa46757d2ed7482ec0aff93ce9ee5
(cherry picked from commit 28afe682cd84c894c4da880ace41db77268400c4)
tools/aapt2/link/ManifestFixer.cpp