👹 Add adaptable homescreen shortcuts for maskable icons.
The Add to Homescreen feature will now consider "maskable" icons from the web app manifest [1]. If a maskable icon is present and we are on an Android O+ device, turn that "maskable" icon into an Android Adaptive icon [2]. The icon is scaled to ensure that the safe zone is preserved [3]. [1]: https://w3c.github.io/manifest/#purpose-member [2]: https://developer.android.com/guide/practices/ui_guidelines/icon_design_adaptive [3]: https://github.com/w3c/manifest/issues/555#issuecomment-404097653 Bug: 904354 Change-Id: Iedfe61ace0fda4ca7f3ed3da6a5d07f2bff81443 Reviewed-on: https://chromium-review.googlesource.com/c/1341998 Commit-Queue: Peter Conn <peconn@chromium.org> Reviewed-by:Matt Giuca <mgiuca@chromium.org> Reviewed-by:
Peter Beverloo <peter@chromium.org> Reviewed-by:
Yaron Friedman <yfriedman@chromium.org> Reviewed-by:
Dominick Ng <dominickn@chromium.org> Cr-Commit-Position: refs/heads/master@{#612218}
Showing
Please register or sign in to comment