Skip to content
Commit eefcdeef authored by Yanting Yang's avatar Yanting Yang
Browse files

Create a new icon cache mechanism for memory improvement

- Avoid loading all app icons at once to decrease memory usage.
- Implement AppIconCacheManager with LruCache to optimize cache usage.
- Create related APIs to access the icon cache conveniently.
- Enable the new cache mechanism for the Settings process.

Bug: 187118427
Bug: 209898662
Test: robotests & check memory trace of apps pages.
Change-Id: I3843d7ed00812b6923e3c6dc175f98d507f81b7b
parent c5900ec5
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