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.
BUG=529980
Committed: https://crrev.com/c409a15aec57abe523fd57e4a3b8eb98cce5506e
Cr-Commit-Position: refs/heads/master@{#350514}
Patch Set 1 #
Total comments: 6
Patch Set 2 : address review comments #Patch Set 3 : #
Messages
Total messages: 15 (6 generated)
|