diff options
author | Madhu Yaduguri <madhuyaduguri@UIE08563-2.local> | 2016-10-03 18:30:44 -0700 |
---|---|---|
committer | Madhu Yaduguri <madhuyaduguri@UIE08563-2.local> | 2016-10-03 18:30:44 -0700 |
commit | 7ba8191d28446da08a805f7d9f4e357f1dcc5d13 (patch) | |
tree | 0ccbbff01e3700a6449a82582ee796ecb7de898c /src/components | |
parent | 7363c0b6d5d2d7b55a9975a9e53cc0a27a9be01e (diff) | |
download | sdl_core-7ba8191d28446da08a805f7d9f4e357f1dcc5d13.tar.gz |
rebasing from master
Diffstat (limited to 'src/components')
-rwxr-xr-x | src/components/application_manager/src/commands/mobile/on_button_press_notification.cc | 7 |
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); } - } } |