summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorRyan Mitchell <rtmitchell@google.com>2018-05-15 15:08:58 -0700
committerRyan Mitchell <rtmitchell@google.com>2018-05-15 15:08:58 -0700
commita41e66af586a2fe60d450f4a9f4b8e8f06c5f6c4 (patch)
treebc195700aa127b9c461d516d71e4db49c8c64d93 /tools/aapt2/java/JavaClassGenerator.cpp
parent7692904a7b20e489b4de1511b7bc64357eb21282 (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.cpp')
0 files changed, 0 insertions, 0 deletions