diff options
author | mgiuca@chromium.org <mgiuca@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-06-01 04:44:27 +0000 |
---|---|---|
committer | mgiuca@chromium.org <mgiuca@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-06-01 04:44:27 +0000 |
commit | 9bfe192df7957ddb1e0e4de9e26fa6d2a0e8ec89 (patch) | |
tree | fe9254c39efe819acfc3c0aa4fc74cb271eb29b7 /apps | |
parent | 22e164edca5c9242e31dff31c0aeb0afed9b78c5 (diff) | |
download | chromium_src-9bfe192df7957ddb1e0e4de9e26fa6d2a0e8ec89.zip chromium_src-9bfe192df7957ddb1e0e4de9e26fa6d2a0e8ec89.tar.gz chromium_src-9bfe192df7957ddb1e0e4de9e26fa6d2a0e8ec89.tar.bz2 |
Apps with "display_in_launcher": false no longer have shortcuts installed.
This fixes the "Google Wallet Service" shortcuts being automatically installed
into the Start Menu on Windows and Linux.
BUG=243877
Review URL: https://chromiumcodereview.appspot.com/15982005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@203581 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'apps')
-rw-r--r-- | apps/shortcut_manager.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/shortcut_manager.cc b/apps/shortcut_manager.cc index 2bdccb5..4c637ee 100644 --- a/apps/shortcut_manager.cc +++ b/apps/shortcut_manager.cc @@ -56,7 +56,8 @@ void ShortcutManager::Observe(int type, .ptr(); const Extension* extension = installed_info->extension; if (extension->is_platform_app() && - extension->location() != extensions::Manifest::COMPONENT) { + extension->location() != extensions::Manifest::COMPONENT && + extension->ShouldDisplayInAppLauncher()) { // If the app is being updated, update any existing shortcuts but do not // create new ones. If it is being installed, automatically create a // shortcut in the applications menu (e.g., Start Menu). |