commit | eefcdeefb357bd142f810237eacecb7a8548f929 | [log] [tgz] |
---|---|---|
author | Yanting Yang <yantingyang@google.com> | Fri Jan 07 02:01:50 2022 +0800 |
committer | Yanting Yang <yantingyang@google.com> | Thu Jan 27 17:23:00 2022 +0800 |
tree | 1b96ba2d577addfdfbedf8c12dbe419f50d18285 | |
parent | c5900ec5711c49f4e81e050a3913254000f34771 [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