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

Skip to content
Commit 9d5eed31 authored by lpeter's avatar lpeter
Browse files

Update optimizing RegisteredServicesCache ServiceInfo parsing

1.Use component name as the cache key instead of an ad-hoc
constructed string.
2.If no services are asked within 30 seconds, the cache will be
cleared. If the services are asked within 30 seconds, it will
reset the timer to 30 seconds again.
3.Move the logic to read or update the cache in generateServicesMap.

Flag: android.content.pm.optimize_parsing_in_registered_services_cache

Bug: 319137634
Test: atest RegisteredServicesCacheTest
Change-Id: Id2dc224796d8259d5274237e40c2db3a89448889
parent 3356c5c5
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