summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/components/application_manager/src/application_manager_impl.cc9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/components/application_manager/src/application_manager_impl.cc b/src/components/application_manager/src/application_manager_impl.cc
index 5066c6dfc6..d59bc92180 100644
--- a/src/components/application_manager/src/application_manager_impl.cc
+++ b/src/components/application_manager/src/application_manager_impl.cc
@@ -4550,11 +4550,10 @@ void ApplicationManagerImpl::OnUpdateHMIAppType(
const mobile_apis::HMILevel::eType app_hmi_level =
(*it)->hmi_level(mobile_apis::PredefinedWindows::DEFAULT_WINDOW);
- if (app_hmi_level == mobile_api::HMILevel::HMI_BACKGROUND) {
- MessageHelper::SendUIChangeRegistrationRequestToHMI(*it, *this);
- } else if ((app_hmi_level == mobile_api::HMILevel::HMI_FULL) ||
- (app_hmi_level == mobile_api::HMILevel::HMI_LIMITED)) {
- MessageHelper::SendUIChangeRegistrationRequestToHMI(*it, *this);
+
+ MessageHelper::SendUIChangeRegistrationRequestToHMI(*it, *this);
+ if ((app_hmi_level == mobile_api::HMILevel::HMI_FULL) ||
+ (app_hmi_level == mobile_api::HMILevel::HMI_LIMITED)) {
state_controller().SetRegularState(
*it,
mobile_apis::PredefinedWindows::DEFAULT_WINDOW,