summaryrefslogtreecommitdiff
path: root/api/api.go
diff options
context:
space:
mode:
author Yanting Yang <yantingyang@google.com> 2022-01-07 02:01:50 +0800
committer Yanting Yang <yantingyang@google.com> 2022-01-27 17:23:00 +0800
commiteefcdeefb357bd142f810237eacecb7a8548f929 (patch)
tree1b96ba2d577addfdfbedf8c12dbe419f50d18285 /api/api.go
parentc5900ec5711c49f4e81e050a3913254000f34771 (diff)
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
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions