summaryrefslogtreecommitdiff
path: root/libs/androidfw/AttributeResolution.cpp
diff options
context:
space:
mode:
author Lee Shombert <shombert@google.com> 2024-09-16 13:30:59 -0700
committer Lee Shombert <shombert@google.com> 2024-09-17 17:06:40 -0700
commitef881f533c9f0eff33728129f7c4d70abe56521a (patch)
tree60b3cb5d6ddbb697c3728cb1042e7f56c702b744 /libs/androidfw/AttributeResolution.cpp
parentfeaa25f828313c707a9258ef1a1b472cd7ef5b32 (diff)
Rename legacy cache keys
This CL renames legacy PropertyInvalidatedCache keys to match the new naming convention, which is "cache_key.<module>.<name>", where the module is one of "system_server", "telephony", or "bluetooth". The rename is entirely in the framework. There is no backcompat issue. Invalid cache keys are logged, unless the flag is true, in which case a fatal exception is thrown. Tested with a special image that removed the SELinux policies that permitted the legacy property names to work. Booted the image and verified no selinux violations in logcat. This means no caches were using the legacy properties. Test: booted the image and verified that no caches with non-standard names existed in the system. Verification used the output of `dumpsys cacheinfo`. Flag: EXEMPT refactor Bug: 366552454 Change-Id: Icfc43980def04c8aefaa4097a38eabbc7ca3b054
Diffstat (limited to 'libs/androidfw/AttributeResolution.cpp')
0 files changed, 0 insertions, 0 deletions