diff options
author | Todd Kennedy <toddke@google.com> | 2018-04-19 15:17:24 -0700 |
---|---|---|
committer | Todd Kennedy <toddke@google.com> | 2018-04-20 15:50:17 -0700 |
commit | 64c57a8c9649a1c264f667710538f65d1a8ea0b4 (patch) | |
tree | 6742d252b53c72839546c41f2ad187307c1d2abb /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | a93ab56ed802f320cbf1ac9452cae75acbef47c3 (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: Ic8837975d8811826bb9b6635d44a0ac004daad36
Fixes: 70716301
Test: Manual. Run multi-split APK and see that transition animations work when defined in a split
Test: Manual. Open a textbox and see the keyboard animates correctly.
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions