DescriptionScale large notification icons according to device settings.
Previously we would directly pass developer-provided icons on to the
Android NotificationManager, but this has led to OOM errors on devices
with less memory when developers provide, supposedly, large icons.
Starting from this CL, we ensure that icons are at most the size at
which they will be presented to the user.
TBR=mvanouwerkerk (reviewed in CL 1362943002)
BUG=529980
Committed: https://crrev.com/1e5de1b0d2ba982a3be66b1f19d6a815c5fd462f
Cr-Commit-Position: refs/heads/master@{#351111}
Patch Set 1 #
Total comments: 8
Patch Set 2 : #
Messages
Total messages: 12 (6 generated)
|