commit | 52e4392ed0111a24ac83f0393907e092ceb844f3 | [log] [tgz] |
---|---|---|
author | Stan Iliev <stani@google.com> | Tue Aug 06 15:59:44 2019 -0400 |
committer | Stan Iliev <stani@google.com> | Fri Aug 09 15:52:05 2019 -0400 |
tree | 7905be5cda6dbac53ed9b213e07c2b38001b419f | |
parent | 10952defd8e3b7e6d2e416f773ddeb47ea03ed85 [diff] |
Access VectorDrawableAtlas only on RenderThread VectorDrawableAtlas dtor can run only on RenderThread, because it releases GPU resources. It is usually CacheManager, which destroys the atlas on RenderThread in response to trimMemory. This CL fixes a rare situation, when a Java finalizer thread deletes the atlas. Bug: 137722646 Test: Manual testing on a device Change-Id: I9d900809c23efaead9aaf16ee3306bc8c7c6b379