summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPavel Kramchaninov <PKramchaninov@luxoft.com>2013-09-05 17:33:21 +0300
committerPavel Kramchaninov <PKramchaninov@luxoft.com>2013-09-05 17:33:56 +0300
commit2387e37883c09bc6674eb876121db683ffceccdb (patch)
tree2c3467ba582318c08ce9598c51fea6fc978decd2
parent6a3c4253d461524be23ff170d787f7ef5b233660 (diff)
downloadsdl_core-2387e37883c09bc6674eb876121db683ffceccdb.tar.gz
Rollback previous changes.E1.1_release_candidateE1.1
-rw-r--r--src/components/application_manager/src/commands/mobile/end_audio_pass_thru_request.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/application_manager/src/commands/mobile/end_audio_pass_thru_request.cc b/src/components/application_manager/src/commands/mobile/end_audio_pass_thru_request.cc
index 2952688fae..af1df24b4b 100644
--- a/src/components/application_manager/src/commands/mobile/end_audio_pass_thru_request.cc
+++ b/src/components/application_manager/src/commands/mobile/end_audio_pass_thru_request.cc
@@ -50,12 +50,12 @@ void EndAudioPassThruRequest::Run() {
LOG4CXX_INFO(logger_, "EndAudioPassThruRequest::Run");
if (ApplicationManagerImpl::instance()->audio_pass_thru_flag()) {
+ ApplicationManagerImpl::instance()->StopAudioPassThruThread();
+
CreateHMIRequest(hmi_apis::FunctionID::UI_EndAudioPassThru,
smart_objects::SmartObject(smart_objects::SmartType_Map),
true, 1);
- ApplicationManagerImpl::instance()->StopAudioPassThruThread();
-
ApplicationManagerImpl::instance()->set_audio_pass_thru_flag(false);
} else {
SendResponse(false, mobile_apis::Result::REJECTED,