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 188178440bb0e7a94ab85d7a1372dab6a179beff..ae889a345ad4a5351c1ee046630247e7425beae4 100644 |
| --- a/chrome/browser/ui/app_list/arc/arc_app_utils.cc |
| +++ b/chrome/browser/ui/app_list/arc/arc_app_utils.cc |
| @@ -269,7 +269,11 @@ bool LaunchApp(content::BrowserContext* context, |
| DCHECK(arc_session_manager); |
| bool arc_activated = false; |
| - if (!arc_session_manager->IsArcPlayStoreEnabled()) { |
| + if (arc_session_manager->IsPersistentArc()) { |
|
hidehiko
2017/02/23 10:29:16
If Play Store is not yet enabled, I think it is st
hidehiko
2017/02/23 10:29:16
nit: Could you elide the brace?
victorhsieh
2017/02/24 00:45:00
Right. There won't be apps from Play Store in opt
victorhsieh
2017/02/25 00:21:33
Seems like there is an unlikely edge case when app
|
| + arc_activated = true; |
| + } |
| + |
| + if (!arc_activated && !arc_session_manager->IsArcPlayStoreEnabled()) { |
| if (!prefs->IsDefault(app_id)) { |
| NOTREACHED(); |
| return false; |