summaryrefslogtreecommitdiff
path: root/src/components/application_manager/src/commands/mobile/subscribe_button_request.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/application_manager/src/commands/mobile/subscribe_button_request.cc')
-rw-r--r--src/components/application_manager/src/commands/mobile/subscribe_button_request.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/components/application_manager/src/commands/mobile/subscribe_button_request.cc b/src/components/application_manager/src/commands/mobile/subscribe_button_request.cc
index 22bc57620a..9be2251a67 100644
--- a/src/components/application_manager/src/commands/mobile/subscribe_button_request.cc
+++ b/src/components/application_manager/src/commands/mobile/subscribe_button_request.cc
@@ -54,7 +54,7 @@ void SubscribeButtonRequest::Run() {
ApplicationManagerImpl::instance()->application(connection_key());
if (!app) {
- LOG4CXX_ERROR_EXT(logger_, "APPLICATION_NOT_REGISTERED");
+ LOG4CXX_ERROR(logger_, "APPLICATION_NOT_REGISTERED");
SendResponse(false, mobile_apis::Result::APPLICATION_NOT_REGISTERED);
return;
}
@@ -64,21 +64,21 @@ void SubscribeButtonRequest::Run() {
(*message_)[str::msg_params][str::button_name].asUInt());
if (!IsSubscriptionAllowed(app, btn_id)) {
- LOG4CXX_ERROR_EXT(logger_, "Subscribe on button " << btn_id
+ LOG4CXX_ERROR(logger_, "Subscribe on button " << btn_id
<< " isn't allowed");
SendResponse(false, mobile_apis::Result::REJECTED);
return;
}
if (!CheckHMICapabilities(btn_id)) {
- LOG4CXX_ERROR_EXT(logger_, "Subscribe on button " << btn_id
+ LOG4CXX_ERROR(logger_, "Subscribe on button " << btn_id
<< " isn't allowed by HMI capabilities");
SendResponse(false, mobile_apis::Result::UNSUPPORTED_RESOURCE);
return;
}
if (app->IsSubscribedToButton(btn_id)) {
- LOG4CXX_ERROR_EXT(logger_, "Already subscribed to button " << btn_id);
+ LOG4CXX_ERROR(logger_, "Already subscribed to button " << btn_id);
SendResponse(false, mobile_apis::Result::IGNORED);
return;
}
@@ -119,7 +119,7 @@ bool SubscribeButtonRequest::CheckHMICapabilities(
const HMICapabilities& hmi_caps = app_mgr->hmi_capabilities();
if (!hmi_caps.is_ui_cooperating()) {
- LOG4CXX_ERROR_EXT(logger_, "UI is not supported by HMI.");
+ LOG4CXX_ERROR(logger_, "UI is not supported by HMI.");
return false;
}