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

Skip to content
Commit c301e09c authored by Shen Lin's avatar Shen Lin
Browse files

Introduce trimMemory to AppIconCacheManager

This CL adds a method to trim lrucache size dynamically based on the
level of onLowMemory to avoid calling evictAll to frequently, and to make cache resize more reasonable.

Bug: 259630755
Test: atest AppIconCacheManagerTest -c

Change-Id: I1b9692a0fad8c13722da4906cf844232707e74b2
parent 140a69e9
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