[Application] ApplicationControl launchMode fix
authorRafal Galka <r.galka@samsung.com>
Thu, 30 Apr 2015 09:02:20 +0000 (11:02 +0200)
committerRafal Galka <r.galka@samsung.com>
Thu, 30 Apr 2015 09:02:20 +0000 (11:02 +0200)
Change-Id: I30e12d3cbbb20d43122e20eb7c24d215de0cc2ed

src/application/application_manager.cc

index bdc0c33..31dca1c 100644 (file)
@@ -437,7 +437,7 @@ void ApplicationManager::LaunchAppControl(const picojson::value& args) {
   const picojson::object& app_control_obj = control.get<picojson::object>();
 
   std::string launch_mode_str;
-  const auto& launch_mode = args.get("launchMode");
+  const auto& launch_mode = control.get("launchMode");
   if (launch_mode.is<std::string>()) {
     launch_mode_str = launch_mode.get<std::string>();
   }