diff options
author | Adam Lesinski <adamlesinski@google.com> | 2017-11-29 09:59:37 -0800 |
---|---|---|
committer | Adam Lesinski <adamlesinski@google.com> | 2017-11-29 10:20:26 -0800 |
commit | 1c855a0bc88281873b047391de93d0a2b4dbd454 (patch) | |
tree | 807e95f64d46feeb41d618029c1f25c0c33d9b8f /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | d12e276f6ae35a1e889c6d4de97688903c49001b (diff) |
libandroidfw: Do not clear last resource id in ResolveReference
If the value passed to AssetManager::ResolveReference is not a
reference, the caller may be expecting for the last reference to
not be cleared, as a more appropriate value should most likely be
retained.
This was causing an issue when a caller was manually resolving
references and expecting the last resource ID resolved to be propagated
across calls to ResolveReference.
Test: make libandroidfw_tests
Change-Id: I5b7f586e2cd541059023eaa9ba23e324a21a9a1e
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions