diff options
author | David Chaloupka <chaloupka@google.com> | 2018-01-18 13:44:36 +0000 |
---|---|---|
committer | David Chaloupka <chaloupka@google.com> | 2018-01-18 19:20:01 +0000 |
commit | e3c1a4a9d21e7698e9e5196086198569ac5cc6cd (patch) | |
tree | e26d206ea6ea40e0d670f6daf14fce0e894130e5 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 588a06f5a25adad63337ac481f9e1b55dcc169a1 (diff) |
Handle multiple packages of same name in 'aapt2 convert'
aapt2 currently looks-up packages only by package name and then verifies
whether the package ID has the expected value. For pre-L we need to be able
to handle resource tables having packages of same package name but
different IDs.
Note that this CL fixes only proto->binary conversion but many other aapt2
commands are still affected. This is because many transformations still
consider package name as sufficient identifier of a package.
Bug: 72143207
Test: Manual
Change-Id: Id8a920d6cd15bec747d3124270f5bcb7f48924cf
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions