commit | f6482a582f3fc0adc6c0888abd9a4f1e924d1faa | [log] [tgz] |
---|---|---|
author | Linux Build Service Account <lnxbuild@localhost> | Wed May 25 11:21:53 2016 -0700 |
committer | Gerrit - the friendly Code Review server <code-review@localhost> | Wed May 25 11:21:53 2016 -0700 |
tree | 4955bb90780414c458d948d54ac55cb8c736def8 | |
parent | 5016005bad0645088d88b63f26a20d61e8ff2595 [diff] | |
parent | 0f7d0a9e9b3f6152f661fb7238665ab564140e3a [diff] |
Merge "hal: fix no sound issue in voice call" into av-userspace.lnx.2.0-dev
diff --git a/hal/voice.c b/hal/voice.c index bff69a1..5fef205 100644 --- a/hal/voice.c +++ b/hal/voice.c
@@ -132,6 +132,9 @@ session->state.current = CALL_INACTIVE; + if (!voice_is_call_state_active(adev)) + adev->voice.in_call = false; + /* Disable sidetone only when no calls are active */ if (!voice_is_call_state_active(adev)) voice_set_sidetone(adev, uc_info->out_snd_device, false);