Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 675732af authored by Lee Shombert's avatar Lee Shombert
Browse files

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
parent 42c231df
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment