diff options
author | iAndrew5 <abyzhynar@luxoft.com> | 2016-12-09 14:15:55 +0200 |
---|---|---|
committer | iAndrew5 <abyzhynar@luxoft.com> | 2016-12-09 14:15:55 +0200 |
commit | 6e9349b5b506f0cb214df5ce217f83450f3f81ab (patch) | |
tree | 1ff3df2f76bcd3afb75f3cac33d886e77f27dd26 /src/components/application_manager/src/state_controller_impl.cc | |
parent | 02656619a433f4549632897d833adc694b88f80b (diff) | |
download | sdl_core-6e9349b5b506f0cb214df5ce217f83450f3f81ab.tar.gz |
Fix SDL BC.ActivateApp for NONE level
Fixed problem that SDL BC.ActivateApp wasn't sent in case of user replies
"NO" for data consent prompt.
The problem was in additional check that SDL BC.ActivateApp could be sent only if
HMI level was FULL. But in case of negative user reply HMI level must be NONE.
Therefore this check was deleted.
Related: APPLINK-30617
Diffstat (limited to 'src/components/application_manager/src/state_controller_impl.cc')
-rw-r--r-- | src/components/application_manager/src/state_controller_impl.cc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/components/application_manager/src/state_controller_impl.cc b/src/components/application_manager/src/state_controller_impl.cc index 839cc13026..06a7e508e5 100644 --- a/src/components/application_manager/src/state_controller_impl.cc +++ b/src/components/application_manager/src/state_controller_impl.cc @@ -95,9 +95,7 @@ void StateControllerImpl::SetRegularState(ApplicationSharedPtr app, static_cast<hmi_apis::Common_HMILevel::eType>( resolved_state->hmi_level()); - const bool is_full_allowed = (hmi_apis::Common_HMILevel::FULL == hmi_level); - - if (send_activate_app && is_full_allowed) { + if (send_activate_app) { const int64_t corr_id = SendBCActivateApp(app, hmi_level, true); if (-1 != corr_id) { subscribe_on_event(hmi_apis::FunctionID::BasicCommunication_ActivateApp, |