summaryrefslogtreecommitdiff
path: root/src/components/application_manager/src/commands/hmi/on_device_state_changed_notification.cc
diff options
context:
space:
mode:
authorJack Byrne <jack@livio.io>2015-08-28 16:09:52 -0400
committerJack Byrne <jack@livio.io>2015-08-28 16:09:52 -0400
commitd7f3cc3e8a847f16b0a70359842ae31d175aec5f (patch)
tree9d6b7519ede02a17cab9f010a58929ad5b3e1c9d /src/components/application_manager/src/commands/hmi/on_device_state_changed_notification.cc
parentfeb79e262c6355a6a7d5b44e301a18bedf2d4160 (diff)
downloadsmartdevicelink-d7f3cc3e8a847f16b0a70359842ae31d175aec5f.tar.gz
Changed device_info id to string and mac_addresshotfix/change-device-info-to-string
Diffstat (limited to 'src/components/application_manager/src/commands/hmi/on_device_state_changed_notification.cc')
-rw-r--r--src/components/application_manager/src/commands/hmi/on_device_state_changed_notification.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/components/application_manager/src/commands/hmi/on_device_state_changed_notification.cc b/src/components/application_manager/src/commands/hmi/on_device_state_changed_notification.cc
index fbb2bcfe9..b41eb6b86 100644
--- a/src/components/application_manager/src/commands/hmi/on_device_state_changed_notification.cc
+++ b/src/components/application_manager/src/commands/hmi/on_device_state_changed_notification.cc
@@ -95,8 +95,7 @@ void OnDeviceStateChangedNotification::Run() {
.asString();
if (device_id.empty()) {
if ((*message_)[strings::msg_params].keyExists("deviceId")) {
- device_id = MessageHelper::GetDeviceMacAddressForHandle(
- (*message_)[strings::msg_params]["deviceId"]["id"].asInt());
+ device_id = (*message_)[strings::msg_params]["deviceId"]["id"].asString();
}
} else {
// Policy uses hashed MAC address as device_id