Index: chrome/browser/ui/ash/launcher/arc_app_deferred_launcher_controller.cc |
diff --git a/chrome/browser/ui/ash/launcher/arc_app_deferred_launcher_controller.cc b/chrome/browser/ui/ash/launcher/arc_app_deferred_launcher_controller.cc |
index 524356f9532e810c27b3e4face48b78b14aab847..2fc65944f67defccd87330b5e90955e6f4ebd9a9 100644 |
--- a/chrome/browser/ui/ash/launcher/arc_app_deferred_launcher_controller.cc |
+++ b/chrome/browser/ui/ash/launcher/arc_app_deferred_launcher_controller.cc |
@@ -214,4 +214,10 @@ void ArcAppDeferredLauncherController::RegisterDeferredLaunch( |
RegisterNextUpdate(); |
app_controller_map_[shelf_app_id] = controller; |
+ |
+ // On some boards, ARC is booted with a restricted set of resources by default |
+ // to avoid slowing down Chrome's user session restoration. However, the |
+ // restriction should be lifted once the user explicitly tries to launch an |
+ // ARC app. |
+ arc::PrioritizeArcInstance(); |
khmel
2016/09/08 23:35:27
nit: Probably it is better to put this into arc_ap
Yusuke Sato
2016/09/09 16:20:12
That's simpler, thanks. Done.
|
} |