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

Skip to content
Commit a9403c6f authored by Jing Ji's avatar Jing Ji
Browse files

Update the PlatformCompat cache in OomAdjuster when gets notified

...instead of reading from PlatformCompat when it hits an obsoleted
cache at critical code path in oomAdjUpdate.

The cache will also be refreshed when the ApplicationInfo is updated.

Bug: 192316054
Test: atest FrameworksServicesTests:OomAdjusterTests
Test: atest ActivityManagerPerfTests:OomAdjPerfTest
Change-Id: I4d826a84770fa3b83752b11851d261e41acc2c16
parent 3c299e99
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