diff options
| author | 2022-11-18 16:47:58 +0800 | |
|---|---|---|
| committer | 2022-12-09 09:45:10 +0000 | |
| commit | c301e09c19cc6d659217e545c4e5213ae27ece1f (patch) | |
| tree | 2203134761197d62f230712c088ddf1af8f23547 /libs/androidfw/StringPool.cpp | |
| parent | 140a69e94fd3e78a69f8ea9cefea47bc05060d80 (diff) | |
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
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions