+24
−0
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
CachingIconView is used to displayed (smallish) icons in Notifications. Those can accidentally be made very large if big resources are used.
This makes CachingIconView use LocalImageResolver to load those images with limited size. This fixes large memory use of notification header icons.
Bug: 210690571
Bug: 218845090
Test: atest CachingIconViewTest
atest NotificationManagerTest
Verified with notification test APK on a Pixel
Change-Id: Ia37c1fd31a7720e6ec2fd20d7466d8dcaffa6507