summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAGaliuzov <AGaliuzov@luxoft.com>2015-06-15 18:14:33 +0300
committerAGaliuzov <AGaliuzov@luxoft.com>2015-06-15 18:14:33 +0300
commit5bf25a8ee79579ff428bf5fe1987257f35c6c0b3 (patch)
tree49979656667cf382fa6362894969b8bc99b0f76d
parente2df2fae923d3919ada027810bd557e8dc82c5da (diff)
parentd21625f683f61b9a264289feb4b4ab0da3d36ca6 (diff)
downloadsdl_core-5bf25a8ee79579ff428bf5fe1987257f35c6c0b3.tar.gz
Merge pull request #134 from LuxoftSDL/hotfix/send-device-uniq-id-in-update-device-list
Send uniq device id in update device list
-rw-r--r--src/components/application_manager/src/message_helper.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/application_manager/src/message_helper.cc b/src/components/application_manager/src/message_helper.cc
index 99dc7bf560..9e5632ebd1 100644
--- a/src/components/application_manager/src/message_helper.cc
+++ b/src/components/application_manager/src/message_helper.cc
@@ -627,7 +627,7 @@ smart_objects::SmartObjectSPtr MessageHelper::CreateDeviceListSO(
const connection_handler::Device& d =
static_cast<connection_handler::Device>(it->second);
list_so[index][strings::name] = d.user_friendly_name();
- list_so[index][strings::id] = it->second.device_handle();
+ list_so[index][strings::id] = it->second.mac_address();
const policy::DeviceConsent device_consent =
policy::PolicyHandler::instance()->GetUserConsentForDevice(it->second.mac_address());