commit | f54a6883428d83c5af460c71947f8d9dd6d64f7e | [log] [tgz] |
---|---|---|
author | Jernej Virag <jernej@google.com> | Thu Jan 27 14:45:57 2022 +0000 |
committer | Jernej Virag <jernej@google.com> | Thu Feb 03 17:57:02 2022 +0000 |
tree | 99450005d86e77dd492b149dfe26076dc94a065c | |
parent | 214667438f030fdc30023761a99020eb40c097ef [diff] |
Restrict and validatee small icon sizes of notifications This makes StatusBarIconView downscale notification icons if they exceed notification_small_icon_size. This avoids possibility of large memory usage if the app passes a huge drawable asset as the small notification icon. This restriction currenctly doesn't apply for animated or stateful drawables. Bug: 209044537 Bug: 193720474 Test: Manually Change-Id: I1bf19e9d2b1d9fef67e1653e601b11fd74f72e73