summaryrefslogtreecommitdiff
path: root/src/components/application_manager/src/message_helper.cc
diff options
context:
space:
mode:
authorAleksandr Galiuzov <AGaliuzov@luxoft.com>2015-06-15 18:10:35 +0300
committerAleksandr Galiuzov <AGaliuzov@luxoft.com>2015-06-15 18:10:35 +0300
commitd21625f683f61b9a264289feb4b4ab0da3d36ca6 (patch)
tree49979656667cf382fa6362894969b8bc99b0f76d /src/components/application_manager/src/message_helper.cc
parente2df2fae923d3919ada027810bd557e8dc82c5da (diff)
downloadsmartdevicelink-d21625f683f61b9a264289feb4b4ab0da3d36ca6.tar.gz
Send uniq device id in update device list
Diffstat (limited to 'src/components/application_manager/src/message_helper.cc')
-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 99dc7bf56..9e5632ebd 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());