summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/components/application_manager/rpc_plugins/sdl_rpc_plugin/src/mobile_command_factory.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/components/application_manager/rpc_plugins/sdl_rpc_plugin/src/mobile_command_factory.cc b/src/components/application_manager/rpc_plugins/sdl_rpc_plugin/src/mobile_command_factory.cc
index c0f2c8f651..caa0592eea 100644
--- a/src/components/application_manager/rpc_plugins/sdl_rpc_plugin/src/mobile_command_factory.cc
+++ b/src/components/application_manager/rpc_plugins/sdl_rpc_plugin/src/mobile_command_factory.cc
@@ -395,6 +395,11 @@ CommandCreator& MobileCommandFactory::get_command_creator(
? factory.GetCreator<commands::CloseApplicationRequest>()
: factory.GetCreator<commands::CloseApplicationResponse>();
}
+ case mobile_apis::FunctionID::JoinNetworkID: {
+ return mobile_api::messageType::request == message_type
+ ? factory.GetCreator<commands::JoinNetworkRequest>()
+ : factory.GetCreator<commands::JoinNetworkResponse>();
+ }
case mobile_apis::FunctionID::GenericResponseID: {
using app_mngr::commands::Command;
return factory.GetCreator<commands::GenericResponse>();