diff options
author | 2022-01-27 14:45:57 +0000 | |
---|---|---|
committer | 2022-02-03 17:57:02 +0000 | |
commit | f54a6883428d83c5af460c71947f8d9dd6d64f7e (patch) | |
tree | 99450005d86e77dd492b149dfe26076dc94a065c /api/api.go | |
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
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions