diff options
author | Todd Kennedy <toddke@google.com> | 2018-04-17 09:55:31 -0700 |
---|---|---|
committer | Todd Kennedy <toddke@google.com> | 2018-04-18 17:28:44 +0000 |
commit | fbcf20819182107fcf1d3fb894881754e2fbb7f6 (patch) | |
tree | bf3443c9fa0816e6d04d42f9158b598edf7f8719 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 17b2f5d42716606a9e7ae6ca3e674212c3995d78 (diff) |
Don't consider resources < 0 as invalid
The only invalid resource ID is '0'. All other resource IDs are
valid; even negative resource IDs.
With the introduction of namespaces in AAPT2, resource IDs start with
0x80, 0x81, ... [ie. because Java only supports signed types, they are
considered negative]. For app transition animations negative resource
IDs were incorrectly considered "invalid".
Change-Id: I24032baa54860459d4f1b8e17a80c760c48d5579
Fixes: 70716301
Test: Manual. Run multi-split APK and see that transition animations work when defined in a split
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions