summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoratimchenko <atymchenko@luxoft.com>2017-03-21 16:44:08 +0200
committerAndriy Byzhynar <AByzhynar@luxoft.com>2017-06-22 10:56:28 +0300
commit279eb04aba4ff3547212c75b8a8675118e430111 (patch)
tree56227e36a5bf97fa54eafa4a71b422b759299980
parent22a014b3746b28d2b8a3a4049c60bb76db6a0861 (diff)
downloadsdl_core-279eb04aba4ff3547212c75b8a8675118e430111.tar.gz
Fix SDL not send Stop A/V Stream by unregistering
SDL does not send StopStream/StopAudioStream to HMI after unregistering app during streaming Related to Issue-1010
-rw-r--r--src/components/application_manager/src/commands/mobile/unregister_app_interface_request.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/components/application_manager/src/commands/mobile/unregister_app_interface_request.cc b/src/components/application_manager/src/commands/mobile/unregister_app_interface_request.cc
index d7056a624e..d40ad9c870 100644
--- a/src/components/application_manager/src/commands/mobile/unregister_app_interface_request.cc
+++ b/src/components/application_manager/src/commands/mobile/unregister_app_interface_request.cc
@@ -53,6 +53,7 @@ void UnregisterAppInterfaceRequest::Run() {
connection_key(),
mobile_api::AppInterfaceUnregisteredReason::INVALID_ENUM),
commands::Command::ORIGIN_SDL);
+ application_manager_.EndNaviServices(connection_key());
application_manager_.UnregisterApplication(connection_key(),
mobile_apis::Result::SUCCESS);
SendResponse(true, mobile_apis::Result::SUCCESS);