summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMadhu Yaduguri <madhuyaduguri@UIE08563-2.local>2016-10-03 18:30:44 -0700
committerMadhu Yaduguri <madhuyaduguri@UIE08563-2.local>2016-10-03 18:30:44 -0700
commit7ba8191d28446da08a805f7d9f4e357f1dcc5d13 (patch)
tree0ccbbff01e3700a6449a82582ee796ecb7de898c
parent7363c0b6d5d2d7b55a9975a9e53cc0a27a9be01e (diff)
downloadsdl_core-7ba8191d28446da08a805f7d9f4e357f1dcc5d13.tar.gz
rebasing from master
-rwxr-xr-xsrc/components/application_manager/src/commands/mobile/on_button_press_notification.cc7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/components/application_manager/src/commands/mobile/on_button_press_notification.cc b/src/components/application_manager/src/commands/mobile/on_button_press_notification.cc
index 3d59f9949b..fdf8b559bc 100755
--- a/src/components/application_manager/src/commands/mobile/on_button_press_notification.cc
+++ b/src/components/application_manager/src/commands/mobile/on_button_press_notification.cc
@@ -59,10 +59,6 @@ void OnButtonPressNotification::Run() {
const ApplicationSharedPtr app = application_manager_.application(
(*message_)[strings::msg_params][strings::app_id].asUInt());
- ApplicationSharedPtr app = ApplicationManagerImpl::instance()->application(
- (*message_)[strings::msg_params][strings::app_id].asUInt());
-
-
// CUSTOM_BUTTON notification
if (static_cast<uint32_t>(mobile_apis::ButtonName::CUSTOM_BUTTON) == btn_id) {
// app_id is mandatory for CUSTOM_BUTTON notification
@@ -80,10 +76,8 @@ void OnButtonPressNotification::Run() {
return;
}
-
if (!app) {
LOG4CXX_ERROR(logger_, "Application doesn't exist.");
-
return;
}
@@ -126,7 +120,6 @@ void OnButtonPressNotification::Run() {
if (is_app_id_exists || subscribed_app->IsFullscreen()) {
SendButtonPress(subscribed_app);
}
-
}
}