Chromium Code Reviews| Index: chrome/browser/notifications/arc_application_notifier_source_chromeos.cc |
| diff --git a/chrome/browser/notifications/arc_application_notifier_source_chromeos.cc b/chrome/browser/notifications/arc_application_notifier_source_chromeos.cc |
| index 108a74cbf30dd5a7d23c7812afce7f7e3cfcd6a6..8ab57134142872d6a6348e091f0f33877ccc73ac 100644 |
| --- a/chrome/browser/notifications/arc_application_notifier_source_chromeos.cc |
| +++ b/chrome/browser/notifications/arc_application_notifier_source_chromeos.cc |
| @@ -8,6 +8,7 @@ |
| #include "base/strings/utf_string_conversions.h" |
| #include "chrome/browser/profiles/profile.h" |
| +#include "chrome/browser/ui/app_list/arc/arc_app_utils.h" |
| #include "ui/base/layout.h" |
| #include "ui/display/display.h" |
| #include "ui/display/screen.h" |
| @@ -46,7 +47,7 @@ ArcApplicationNotifierSourceChromeOS::GetNotifierList(Profile* profile) { |
| for (const std::string& app_id : app_ids) { |
| const auto app = app_list->GetApp(app_id); |
| - if (!app) |
| + if (!app || !arc::ShouldShowInLauncher(app_id)) |
|
dewittj
2016/06/27 16:17:49
Can an app that's not in the launcher show notific
uekawa-
2016/06/27 23:15:09
There are launchable activities and other activit
hirono
2016/06/28 02:20:31
I think there is two points here.
First the notif
dewittj
2016/06/29 16:09:34
I am not sure if you are waiting for me or not. I
|
| continue; |
| // Handle packages having multiple launcher activities. |
| if (package_to_app_ids_.count(app->package_name)) |