diff options
author | RomanReznichenkoLuxoft <85177915+RomanReznichenkoLuxoft@users.noreply.github.com> | 2022-06-21 17:05:53 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-21 10:05:53 -0400 |
commit | d16229d9eb7074328b8b15e2c939505517fce404 (patch) | |
tree | 49f25b931bf5ec932a0af88726b8d125f8fd3358 /src | |
parent | 546e0528e7847ef4adb148d01813faf51c57cbed (diff) | |
download | sdl_core-d16229d9eb7074328b8b15e2c939505517fce404.tar.gz |
Send UI.ChangeRegistration for background application after PTU (#3927)
Diffstat (limited to 'src')
-rw-r--r-- | src/components/application_manager/src/application_manager_impl.cc | 9 |
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, |