summaryrefslogtreecommitdiff
path: root/src/components/application_manager/src/commands/mobile/show_constant_tbt_request.cc
diff options
context:
space:
mode:
authorjacobkeeler <jacob.keeler@livioradio.com>2018-01-19 11:08:30 -0500
committerjacobkeeler <jacob.keeler@livioradio.com>2018-01-19 11:08:30 -0500
commit5a1667d8ff0eeb696bf842b2c11aaf74663ebf00 (patch)
treef3c59e3d09bdc457b0677811f7ef09417fd28167 /src/components/application_manager/src/commands/mobile/show_constant_tbt_request.cc
parent273e26304efb215af3416f86ab86c1c7fd39f974 (diff)
parente8911d03dde016a29b01fe80533bc6ac56531678 (diff)
downloadsdl_core-5a1667d8ff0eeb696bf842b2c11aaf74663ebf00.tar.gz
Merge remote-tracking branch 'origin/develop' into feature/invalid_data_info
Diffstat (limited to 'src/components/application_manager/src/commands/mobile/show_constant_tbt_request.cc')
-rw-r--r--src/components/application_manager/src/commands/mobile/show_constant_tbt_request.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/components/application_manager/src/commands/mobile/show_constant_tbt_request.cc b/src/components/application_manager/src/commands/mobile/show_constant_tbt_request.cc
index b1cc40009d..42bfea4864 100644
--- a/src/components/application_manager/src/commands/mobile/show_constant_tbt_request.cc
+++ b/src/components/application_manager/src/commands/mobile/show_constant_tbt_request.cc
@@ -172,6 +172,7 @@ void ShowConstantTBTRequest::Run() {
}
app->set_tbt_show_command(msg_params);
+ StartAwaitForInterface(HmiInterfaces::HMI_INTERFACE_Navigation);
SendHMIRequest(
hmi_apis::FunctionID::Navigation_ShowConstantTBT, &msg_params, true);
}
@@ -184,6 +185,7 @@ void ShowConstantTBTRequest::on_event(const event_engine::Event& event) {
switch (event.id()) {
case hmi_apis::FunctionID::Navigation_ShowConstantTBT: {
LOG4CXX_INFO(logger_, "Received Navigation_ShowConstantTBT event");
+ EndAwaitForInterface(HmiInterfaces::HMI_INTERFACE_Navigation);
const Common_Result::eType result_code =
static_cast<Common_Result::eType>(
message[strings::params][hmi_response::code].asInt());