Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit f54a6883 authored by Jernej Virag's avatar Jernej Virag
Browse files

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
parent 21466743
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment