diff options
| author | 2024-04-25 11:20:45 +0000 | |
|---|---|---|
| committer | 2024-04-26 09:10:18 +0000 | |
| commit | 2826a20ad0bf6a281d33529ce22412ad7a7abaaa (patch) | |
| tree | 2185b567b839e809bddaac205f9788ef768f309d /libs/androidfw/ZipFileRO.cpp | |
| 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
Diffstat (limited to 'libs/androidfw/ZipFileRO.cpp')
0 files changed, 0 insertions, 0 deletions