From 148c16bb64335b5be093c63d144ee5a48211d724 Mon Sep 17 00:00:00 2001 From: Igor Gapchuk Date: Fri, 25 Oct 2019 10:00:02 +0300 Subject: fixup! Fix HMI level on StartServiceNAck --- .../include/application_manager/application_manager_impl.h | 8 ++++---- .../application_manager/src/application_manager_impl.cc | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/components/application_manager/include/application_manager/application_manager_impl.h b/src/components/application_manager/include/application_manager/application_manager_impl.h index 7b734c94ca..e88c954c18 100644 --- a/src/components/application_manager/include/application_manager/application_manager_impl.h +++ b/src/components/application_manager/include/application_manager/application_manager_impl.h @@ -1138,11 +1138,11 @@ class ApplicationManagerImpl private: /** - * @brief Stop services that failed to start - * @param app Application whose service should be stopped - * @param Service type that should be stopped + * @brief Removes service status record for service that failed to start + * @param app Application whose service status record should be removed + * @param Service type which status record should be removed */ - bool StopServicesForApp( + bool HandleRejectedServiceStatus( ApplicationSharedPtr app, const hmi_apis::Common_ServiceType::eType service_type); /** diff --git a/src/components/application_manager/src/application_manager_impl.cc b/src/components/application_manager/src/application_manager_impl.cc index e82a098ff0..8044e8b6cd 100644 --- a/src/components/application_manager/src/application_manager_impl.cc +++ b/src/components/application_manager/src/application_manager_impl.cc @@ -2070,7 +2070,7 @@ void ApplicationManagerImpl::ProcessServiceStatusUpdate( rpc_service_->ManageHMICommand(notification); if (hmi_apis::Common_ServiceEvent::REQUEST_REJECTED == service_event && - StopServicesForApp(app, service_type)) { + HandleRejectedServiceStatus(app, service_type)) { state_ctrl_.SetRegularState(app, mobile_apis::PredefinedWindows::DEFAULT_WINDOW, mobile_apis::HMILevel::HMI_NONE, @@ -2078,7 +2078,7 @@ void ApplicationManagerImpl::ProcessServiceStatusUpdate( } } -bool ApplicationManagerImpl::StopServicesForApp( +bool ApplicationManagerImpl::HandleRejectedServiceStatus( ApplicationSharedPtr app, const hmi_apis::Common_ServiceType::eType service_type) { LOG4CXX_AUTO_TRACE(logger_); -- cgit v1.2.1