diff options
| author | 2022-01-10 14:46:33 -0800 | |
|---|---|---|
| committer | 2022-01-10 14:53:06 -0800 | |
| commit | 80f4322b368e1eb4315222fdc1efd3075df07981 (patch) | |
| tree | 451adc29a7607695b72c5f00c2ced5ce9b30de29 /libs/androidfw/StringPool.cpp | |
| parent | f2af4d998cb8c5f715da18e5717669c739e498ee (diff) | |
Clean up PropertyInvalidatedCache for SystemApi
Bug: 152453213
Tag: #refactor
This commit prepares PropertyInvalidatedCache to function as a system
api. The changes may be summarized as follows:
1. Visibility changes - some formerly protected or public methods are
now private.
2. Use of ParcelFileDescriptor instead of FileDescriptor.
3. Null-ness annotations have been added to public methods.
4. An onTrimMemory() method has been created that hides some class
internals from ActivityThread.
An existing test (os/PropertyInvalidatedCacheTest) has been deleted.
Its contents have been merged into app/PropertyInvalidatedCacheTests.
The deleted test may never have been used.
Test: atest PropertyInvalidatedCacheTests
Change-Id: I619e715c3deca016b21c69bf34a8e61771957e68
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions