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
Loading
Please register or sign in to comment