diff options
author | JackLivio <jack@livio.io> | 2020-09-18 14:15:07 -0400 |
---|---|---|
committer | JackLivio <jack@livio.io> | 2020-09-18 14:15:07 -0400 |
commit | 34836acfcfbea9dc05dddc1f5fb91ebe7f03cc88 (patch) | |
tree | 8c042e88a488e9e9a71b4a8bcd4acf4fb8561b13 | |
parent | 59e5371d6b942a54a71cf9673c68ed9531391152 (diff) | |
download | sdl_core-34836acfcfbea9dc05dddc1f5fb91ebe7f03cc88.tar.gz |
Prevent secondary hmi level none to cloud appsfix/delay_onhmistatus_until_rai_response_is_sent
-rw-r--r-- | src/components/application_manager/src/state_controller_impl.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/components/application_manager/src/state_controller_impl.cc b/src/components/application_manager/src/state_controller_impl.cc index 05533d7ce5..2eb813e69f 100644 --- a/src/components/application_manager/src/state_controller_impl.cc +++ b/src/components/application_manager/src/state_controller_impl.cc @@ -1001,6 +1001,11 @@ void StateControllerImpl::OnApplicationRegistered( const mobile_apis::HMILevel::eType default_level) { SDL_LOG_AUTO_TRACE(); + if (app->is_cloud_app()) { + // Return here, there should already be an onHMIStatus=FULL being processed + // for when the cloud app was initially activated by the hmi + return; + } // After app registration HMI level should be set for DEFAULT_WINDOW only OnAppWindowAdded(app, mobile_apis::PredefinedWindows::DEFAULT_WINDOW, |