diff options
author | Ryan Mitchell <rtmitchell@google.com> | 2018-05-15 15:08:58 -0700 |
---|---|---|
committer | Ryan Mitchell <rtmitchell@google.com> | 2018-05-15 15:08:58 -0700 |
commit | a41e66af586a2fe60d450f4a9f4b8e8f06c5f6c4 (patch) | |
tree | bc195700aa127b9c461d516d71e4db49c8c64d93 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 7692904a7b20e489b4de1511b7bc64357eb21282 (diff) |
ResXMLTree: Clone DynamicRefTable on creation
XmlBlocks are cached in ResourcesImpl::loadXmlResourceParser(...) and
when asset manager invalidates itself, the references to the dynamic
reference tables point to garbage. Now, the reference table is cloned
when the XmlBlock is created so invalidation will not affect the
XmlTree.
Bug: 74240254
Test: Tested GoogleMaps on 9.75.7 and saw crashes stop
Change-Id: I932db7a85fddc640c4d6ec327f534b5a1ad6d0b1
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions