diff options
author | Ira Lytvynenko <ILytvynenko@luxoft.com> | 2018-03-02 13:23:06 +0200 |
---|---|---|
committer | Ira Lytvynenko (GitHub) <ILytvynenko@luxoft.com> | 2018-07-12 13:31:02 +0300 |
commit | 4afbf487cdf619fe4c8f3fe1a0ab5fd104277725 (patch) | |
tree | 3af0c6ce66a1fc0d84342fe22e66cf4181a76af6 | |
parent | bf6958061ce28e291d1b826410a1fa0317b05140 (diff) | |
download | sdl_core-4afbf487cdf619fe4c8f3fe1a0ab5fd104277725.tar.gz |
Fix creation of the notification to mobile
-rw-r--r-- | src/components/application_manager/src/message_helper/message_helper.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/components/application_manager/src/message_helper/message_helper.cc b/src/components/application_manager/src/message_helper/message_helper.cc index 3f92631e5e..9ad7d9cc3f 100644 --- a/src/components/application_manager/src/message_helper/message_helper.cc +++ b/src/components/application_manager/src/message_helper/message_helper.cc @@ -242,6 +242,10 @@ smart_objects::SmartObjectSPtr MessageHelper::CreateNotification( static_cast<int>(kNotification); (*object)[strings::params][strings::function_id] = function_id; (*object)[strings::params][strings::connection_key] = app_id; + (*object)[strings::params][strings::protocol_version] = + commands::CommandImpl::protocol_version_; + (*object)[strings::params][strings::protocol_type] = + commands::CommandImpl::mobile_protocol_type_; (*object)[strings::msg_params] = smart_objects::SmartObject(smart_objects::SmartType_Map); return object; |