diff options
| author | 2022-01-24 18:01:14 +0000 | |
|---|---|---|
| committer | 2022-01-25 15:47:59 +0000 | |
| commit | 5c8e246f55ec93fb18391e538c9a1614e37c939d (patch) | |
| tree | 3a30a4364d6398c9fd9dc8b24528a179e26448c0 /libs/androidfw/StringPool.cpp | |
| parent | 2b2ddee29689ed4649f8905e0173dda5c15bd9ea (diff) | |
Limit the maximum size of small notification icons
Right now, the size of small notification icons is unbounded and can cause big memory usage spikes (easily measured as 50MB+). This limits the maximum size of small icon when its set as a bitmap.
Bug:193720474
Bug:209044537
Test: manual via test app
Test: atest NotificationTest
Change-Id: I684fe29d5b473d86280035e00298c8e59f47dbb7
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions