diff options
author | Ira Lytvynenko <ILytvynenko@luxoft.com> | 2018-01-26 13:29:38 +0200 |
---|---|---|
committer | Ira Lytvynenko (GitHub) <ILytvynenko@luxoft.com> | 2018-06-26 12:01:42 +0300 |
commit | f83d4759add793398b24cca0ae1dd157d03f648c (patch) | |
tree | 6b949862b639f0ab1cb536109377ae77f62177ba /src/components/application_manager/src/commands/hmi/vr_is_ready_request.cc | |
parent | a79341d7a35b7d97e239d4908a34b72978d5a821 (diff) | |
download | sdl_core-f83d4759add793398b24cca0ae1dd157d03f648c.tar.gz |
RPCService implementation
Fix commands UTs
Diffstat (limited to 'src/components/application_manager/src/commands/hmi/vr_is_ready_request.cc')
-rw-r--r-- | src/components/application_manager/src/commands/hmi/vr_is_ready_request.cc | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/components/application_manager/src/commands/hmi/vr_is_ready_request.cc b/src/components/application_manager/src/commands/hmi/vr_is_ready_request.cc index 086b5d4490..a1509b153f 100644 --- a/src/components/application_manager/src/commands/hmi/vr_is_ready_request.cc +++ b/src/components/application_manager/src/commands/hmi/vr_is_ready_request.cc @@ -31,6 +31,7 @@ */ #include "application_manager/commands/hmi/vr_is_ready_request.h" +#include "application_manager/rpc_service.h" namespace application_manager { @@ -89,16 +90,16 @@ void VRIsReadyRequest::SendMessageToHMI() { application_manager_)); HMICapabilities& hmi_capabilities = application_manager_.hmi_capabilities(); hmi_capabilities.set_handle_response_for(*get_language); - application_manager_.ManageHMICommand(get_language); + application_manager_.GetRPCService().ManageHMICommand(get_language); utils::SharedPtr<smart_objects::SmartObject> get_all_languages( MessageHelper::CreateModuleInfoSO( hmi_apis::FunctionID::VR_GetSupportedLanguages, application_manager_)); - application_manager_.ManageHMICommand(get_all_languages); + application_manager_.GetRPCService().ManageHMICommand(get_all_languages); utils::SharedPtr<smart_objects::SmartObject> get_capabilities( MessageHelper::CreateModuleInfoSO( hmi_apis::FunctionID::VR_GetCapabilities, application_manager_)); - application_manager_.ManageHMICommand(get_capabilities); + application_manager_.GetRPCService().ManageHMICommand(get_capabilities); } } // namespace commands |