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

Commit 02b6c7f1 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: Iae24b212b3ad3cd0aa8bb55f932f7c89ef582bd8
parent b41cf306
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