summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Lee Shombert <shombert@google.com> 2024-12-04 10:30:10 -0800
committer Lee Shombert <shombert@google.com> 2024-12-04 10:30:10 -0800
commit675732afa0f3c0d79cc3212ac2333ee65a624309 (patch)
tree34446989b826da5a28f4bb4fb58037d574aa663a /libs/androidfw/StringPool.cpp
parent42c231df49ea53282a73226fae1ebd57fbcafebb (diff)
PIC does not cache nulls by default
Legacy behavior is that PIC does not cache nulls. This legacy behavior is restored as the default, but new configuration parameters are available to change that on a per-cache basis. IpcDataCache now supports the `cacheNulls` and `isolateUids` flags. These are not exposed as SystemApi but can still be used inside system_server. Additional small cleanups on PropertyInvalidatedCache. Also a new invalidateCache() overload to support the IpcDataCache changes. A new unit test verifies that the default setting for cacheNulls is "false". Flag: android.app.pic_cache_nulls Bug: 378762206 Bug: 372923336 Test: atest * FrameworksCoreTests:PropertyInvalidatedCacheTests * FrameworksCoreTests:IpcDataCacheTest * CtsOsTestCases:IpcDataCacheTest Change-Id: I74e4001d292533f3dc385788b5df36a01ea6cfc7
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions