From 9a2bb91b7c0b993fcedd560a646ac1641799dd12 Mon Sep 17 00:00:00 2001 From: Justin Dickow Date: Thu, 21 Aug 2014 17:48:32 -0400 Subject: Send url in "url" msg_param instead of binary data Signed-off-by: Justin Dickow --- src/components/application_manager/src/message_helper.cc | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/components/application_manager/src/message_helper.cc b/src/components/application_manager/src/message_helper.cc index 95dc7146d..927a02fee 100644 --- a/src/components/application_manager/src/message_helper.cc +++ b/src/components/application_manager/src/message_helper.cc @@ -366,12 +366,9 @@ smart_objects::SmartObject* MessageHelper::GetLockScreenIconUrlNotification( (*message)[strings::params][strings::protocol_version] = commands::CommandImpl::protocol_version_; (*message)[strings::msg_params][strings::request_type] = mobile_apis::RequestType::LOCK_SCREEN_ICON_URL; - (*message)[strings::msg_params][strings::file_type] = mobile_apis::FileType::BINARY; - const char *urlBuffer = "http://www.google.com"; - std::vector url_data(urlBuffer, urlBuffer + strlen(urlBuffer) + 1); - - (*message)[strings::params][strings::binary_data] = smart_objects::SmartObject(url_data); + (*message)[strings::msg_params][strings::url] = + "http://www.livioconnect.com/wp-content/uploads/2012/03/icon-Livio-Connect.png"; return message; -- cgit v1.2.1