summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Jernej Virag <jernej@google.com> 2022-02-14 12:30:50 +0000
committer Jernej Virag <jernej@google.com> 2022-03-14 21:51:15 +0000
commit104e6492b2941238ca52ddc0b240cdf3eec30238 (patch)
treed1a44c3704f4b65ce9ed9776d746100ac4f1b67c /libs/androidfw/StringPool.cpp
parentf450d3c0549daa109d6fecd6e5596846cc44a332 (diff)
Downscale large bitmaps in CachingIconView
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: Manually on small and large Pixel device with Notification tester APK Added Unit Tests to cover this case. Change-Id: If3d871e788608c1702461d563673560fa18fc53f
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions