Chromium Code Reviews| Index: chrome/browser/ui/app_list/arc/arc_app_utils.cc |
| diff --git a/chrome/browser/ui/app_list/arc/arc_app_utils.cc b/chrome/browser/ui/app_list/arc/arc_app_utils.cc |
| index 651bbb810361a9124fd6892fb53364398162094d..9c0ee793e8ecb73ad8439f6ad771822967826322 100644 |
| --- a/chrome/browser/ui/app_list/arc/arc_app_utils.cc |
| +++ b/chrome/browser/ui/app_list/arc/arc_app_utils.cc |
| @@ -182,6 +182,11 @@ bool LaunchAppWithRect(content::BrowserContext* context, |
| return false; |
| } |
| + if (!app_info->launchable) { |
| + VLOG(2) << "Cannot launch not-launchable app: " << app_id << "."; |
|
xiyuan
2016/08/05 17:39:39
nit: not-launchable -> non-launchable to be consis
khmel
2016/08/05 18:28:35
Done.
|
| + return false; |
| + } |
| + |
| arc::mojom::AppInstance* app_instance = |
| GetAppInstance(kMinVersion, kLaunchAppStr); |
| if (!app_instance) |