summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Dickow <jjdickow@gmail.com>2014-08-21 17:48:32 -0400
committerJustin Dickow <jjdickow@gmail.com>2014-08-21 17:48:32 -0400
commit9a2bb91b7c0b993fcedd560a646ac1641799dd12 (patch)
treeb7502180b717ed49f4571e3112ef850b53235b55
parentb4125893a7a7bc8f862c889b6b3d4fac346d8ed3 (diff)
downloadsmartdevicelink-dev/lock_screen_icon_url.tar.gz
Send url in "url" msg_param instead of binary datadev/lock_screen_icon_url
Signed-off-by: Justin Dickow <jjdickow@gmail.com>
-rw-r--r--src/components/application_manager/src/message_helper.cc7
1 files 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<uint8_t> 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;