Skip to content

Commit

Permalink
Send UI.ChangeRegistration for background application after PTU (smar…
Browse files Browse the repository at this point in the history
  • Loading branch information
RomanReznichenkoLuxoft authored Jun 21, 2022
1 parent 546e052 commit d16229d
Showing 1 changed file with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit d16229d

Please sign in to comment.