diff options
author | Lee Shombert <shombert@google.com> | 2020-02-22 13:24:02 -0800 |
---|---|---|
committer | Lee Shombert <shombert@google.com> | 2020-03-02 17:13:40 +0000 |
commit | 1f771846c51148b7cb6283e6dc82a216ffaa5353 (patch) | |
tree | e1c2da654a6dbf7b191c6ce444e0260c2deaf2a7 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 81958ce9b413e8ed4a4542e188b753af5c4b5ff8 (diff) |
Fix a leak in HasSystemFeatureCache.
Bug: 150037560
Make HasSystemFeatureQuery static so that it does not retain a handle
to ApplicationPackageManager.
Test: Boot with an instrumented image to verify that caching still works
as expected. Took a heap profile to verify that there were no leaks in
the cache.
Change-Id: I2cd39a6dfab9cc1bf04bb7f55638a572213f04ce
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions