commit | 2826a20ad0bf6a281d33529ce22412ad7a7abaaa | [log] [tgz] |
---|---|---|
author | Orhan Uysal <uysalorhan@google.com> | Thu Apr 25 11:20:45 2024 +0000 |
committer | Orhan Uysal <uysalorhan@google.com> | Fri Apr 26 09:10:18 2024 +0000 |
tree | 2185b567b839e809bddaac205f9788ef768f309d | |
parent | e9093b4ff7397c6183a38a5fa0f38cfbd63fb816 [diff] |
Instead of storing AppIconDrawable store bitmap. Storing the AppIconDrawable itelf currently introduces around 2mb of extra memory usage per window. Replace AppIconDrawable usage with bitmap usage so that we don't need as much memory. Bitmap uses 45x45x8 bytes of memory only. Bug: 336026116 Test: Manual | Compare memory usage through heap dumps and perfetto Change-Id: Ibed72b837aff08389506dfd65b1d4e486c7f3f9a