commit | 1f771846c51148b7cb6283e6dc82a216ffaa5353 | [log] [tgz] |
---|---|---|
author | Lee Shombert <shombert@google.com> | Sat Feb 22 13:24:02 2020 -0800 |
committer | Lee Shombert <shombert@google.com> | Mon Mar 02 17:13:40 2020 +0000 |
tree | e1c2da654a6dbf7b191c6ce444e0260c2deaf2a7 | |
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