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

Skip to content
Commit 80f4322b authored by Lee Shombert's avatar Lee Shombert
Browse files

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
parent f2af4d99
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment