Description[Android Webapps]: Do not resize homescreen icon when not padding the icon
This CL makes ShortcutHelper#createHomescreenIconFromWebIcon() not do any
resizing when:
- No padding is to be applied
AND
- The icon's size does not exceed
ActivityManager#getLauncherLargeIconSize() * MAX_INNER_SIZE_RATIO
Resizing an icon to make it slightly larger was making the homescreen blurry.
On top of the resizing done in ShortcutHelper#createHomescreenIconFromWebIcon()
the Android launcher resizes icons if necessary.
BUG=690093
Review-Url: https://codereview.chromium.org/2686623005
Cr-Commit-Position: refs/heads/master@{#449320}
Committed: https://chromium.googlesource.com/chromium/src/+/e10eb740ce96e420b4489f9beb7749b6b35b5e4f
Patch Set 1 #
Total comments: 1
Patch Set 2 : Merge branch 'master' into test2 #Messages
Total messages: 18 (9 generated)
|