diff options
author | Jackal Guo <jackalguo@google.com> | 2020-08-06 16:03:55 +0800 |
---|---|---|
committer | Jackal Guo <jackalguo@google.com> | 2020-08-06 21:28:54 +0800 |
commit | dd01ec611bdc08c1f5837c0cd35a3cebab1aed21 (patch) | |
tree | fb93224da5b3a53e4a83254b90341b4c06703a68 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 0f54ce6bd21a7262746b90d1cb9c9e27b81c3d1b (diff) |
Remove orphaned cached result
PackageManagerService would parse all installed APKs info and cache
them, but only delete them when system update. As long as the APKs
keep updating without having system update, the older cached result
would eventually occupy more and more user space.
One way to mitigate this is removing the cached result when the APK
is updated or uninstalled.
Bug: 120608320
Test: Update/uninstall an APK, and check its cached result
Change-Id: I977a0923703bda6f145c9d240a1408f6f87c5625
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions