summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJackLivio <jack@livio.io>2020-09-18 14:15:07 -0400
committerJackLivio <jack@livio.io>2020-09-18 14:15:07 -0400
commit34836acfcfbea9dc05dddc1f5fb91ebe7f03cc88 (patch)
tree8c042e88a488e9e9a71b4a8bcd4acf4fb8561b13
parent59e5371d6b942a54a71cf9673c68ed9531391152 (diff)
downloadsdl_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.cc5
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,