commit | 339390d872fe1cb26b77b17c7c55439b84429903 | [log] [tgz] |
---|---|---|
author | Jeffrey Kardatzke <jkardatzke@google.com> | Thu Apr 26 22:26:57 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Thu Apr 26 22:26:57 2018 |
tree | 6f528de411e57c0373854dc9dbae02e64664e6e1 | |
parent | ad7d8fc5170de04205938c0018d9a1f263ef2dfe [diff] |
Add launcher icons for Crostini applications This updates the Crostini launcher integration so that it includes the icons. Icons are stored in the user's storage directory and the file path for the icons is generated based on the app_id. We use the CrostiniManager for requesting the icons from the Linux container. Resizing of returned icons is performed if we do not get the size/scale factor we requested from Linux. Bug: 836044 Test: Verified icons load, handles scaling and app removal/addition Change-Id: I37c4297af6219ddadc200598cec52d7c40140758 Reviewed-on: https://chromium-review.googlesource.com/1028588 Commit-Queue: Jeffrey Kardatzke <jkardatzke@google.com> Reviewed-by: Nicholas Verne <nverne@chromium.org> Reviewed-by: Timothy Loh <timloh@chromium.org> Cr-Commit-Position: refs/heads/master@{#554172}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .