Index: athena/main/athena_launcher.cc |
diff --git a/athena/main/athena_launcher.cc b/athena/main/athena_launcher.cc |
index 3810c04ad82cfb0c18f643e51bbb3d4c3c772208..b397fea20c20131c0e7abc9eb12a8297ae27ace0 100644 |
--- a/athena/main/athena_launcher.cc |
+++ b/athena/main/athena_launcher.cc |
@@ -6,6 +6,7 @@ |
#include "athena/activity/public/activity_factory.h" |
#include "athena/activity/public/activity_manager.h" |
+#include "athena/content/public/app_registry.h" |
#include "athena/content/public/content_activity_factory.h" |
#include "athena/content/public/content_app_model_builder.h" |
#include "athena/home/public/home_card.h" |
@@ -117,6 +118,7 @@ void StartAthenaEnv(aura::Window* root_window, |
athena::InputManager::Create()->OnRootWindowCreated(root_window); |
athena::ScreenManager::Create(delegate, root_window); |
athena::WindowManager::Create(); |
+ athena::AppRegistry::Create(); |
SetupBackgroundImage(); |
athena::ScreenManager::Get()->GetContext()->SetProperty( |
@@ -149,6 +151,7 @@ void ShutdownAthena() { |
athena::ActivityFactory::Shutdown(); |
athena::ActivityManager::Shutdown(); |
athena::HomeCard::Shutdown(); |
+ athena::AppRegistry::ShutDown(); |
athena::WindowManager::Shutdown(); |
athena::ScreenManager::Shutdown(); |
athena::InputManager::Shutdown(); |