summaryrefslogtreecommitdiff
path: root/src/components/application_manager/src/commands/hmi/on_allow_sdl_functionality_notification.cc
diff options
context:
space:
mode:
authorKozoriz <kozorizandriy@gmail.com>2016-04-25 16:39:26 +0300
committerKozoriz <kozorizandriy@gmail.com>2016-04-25 16:39:26 +0300
commit990bee92cc9d67f9845629bf86e0a700ccc700ce (patch)
tree2feedfc333dfd6af412db96e189c941b367e08c7 /src/components/application_manager/src/commands/hmi/on_allow_sdl_functionality_notification.cc
parent388ef32944603a105ed34db4aa089acf5a7a87fd (diff)
downloadsdl_core-990bee92cc9d67f9845629bf86e0a700ccc700ce.tar.gz
Code style format with clang-format
Diffstat (limited to 'src/components/application_manager/src/commands/hmi/on_allow_sdl_functionality_notification.cc')
-rw-r--r--src/components/application_manager/src/commands/hmi/on_allow_sdl_functionality_notification.cc6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/components/application_manager/src/commands/hmi/on_allow_sdl_functionality_notification.cc b/src/components/application_manager/src/commands/hmi/on_allow_sdl_functionality_notification.cc
index 28e185d9da..70e5e7cefd 100644
--- a/src/components/application_manager/src/commands/hmi/on_allow_sdl_functionality_notification.cc
+++ b/src/components/application_manager/src/commands/hmi/on_allow_sdl_functionality_notification.cc
@@ -40,8 +40,7 @@ namespace commands {
OnAllowSDLFunctionalityNotification::OnAllowSDLFunctionalityNotification(
const MessageSharedPtr& message, ApplicationManager& application_manager)
- : NotificationFromHMI(message, application_manager) {
-}
+ : NotificationFromHMI(message, application_manager) {}
OnAllowSDLFunctionalityNotification::~OnAllowSDLFunctionalityNotification() {}
@@ -49,8 +48,7 @@ void OnAllowSDLFunctionalityNotification::Run() {
LOG4CXX_AUTO_TRACE(logger_);
std::string device_id;
if ((*message_)[strings::msg_params].keyExists("device")) {
- device_id = (*message_)[strings::msg_params]["device"]["id"]
- .asString();
+ device_id = (*message_)[strings::msg_params]["device"]["id"].asString();
}
application_manager_.GetPolicyHandler().OnAllowSDLFunctionalityNotification(
(*message_)[strings::msg_params][hmi_response::allowed].asBool(),