Detect the Crosh instance for the Crostini Terminal as a Crostini App.
This patch adds a override_app_name field to AppLaunchParams, which is used when launching Crosh (for the Crostini Terminal) to set it to a value that the CrostiniAppWindowShelfController can identify as a Crostini App. Similar to v1 packaged apps which prefix with "_crx_", we prefix with "_crostini_". Previously, the opened window (crosh) would be separate to the Terminal if it were pinned from the App List. Pinning the crosh to the shelf resulted in an icon that only opened chrome://extensions. This patch fixes this so the opened window is the same as a pinned terminal from the App List. Bug: 824549 Change-Id: Ifef0d5b476c5389639c0436ba272037710245ea6 Reviewed-on: https://chromium-review.googlesource.com/1034555Reviewed-by:Nicholas Verne <nverne@chromium.org> Reviewed-by:
Steven Bennetts <stevenjb@chromium.org> Reviewed-by:
Ben Wells <benwells@chromium.org> Commit-Queue: Ben Wells <benwells@chromium.org> Cr-Commit-Position: refs/heads/master@{#554725}
Showing
Please register or sign in to comment