commit | f85f6a2f92329260c3a2fa27b55477f03cf5abd0 | [log] [tgz] |
---|---|---|
author | Vidyakumar Athota <vathota@codeaurora.org> | Tue Aug 05 18:20:42 2014 -0700 |
committer | Divya Narayanan Poojary <dnaray@codeaurora.org> | Tue Oct 28 18:17:09 2014 +0530 |
tree | 1fcfe79905d33c3db8be985bd2bfa770f6c4d3aa | |
parent | ed32fc75ddfba7b0e2ff925c28ec74446a5f7025 [diff] |
hal: fix voice call device routing issue adev->voice_device_set flag is to indicate voice call device routing update from policymanager to HAL. It is set to true in voice_start_call and reset in update_calls() which causes mismatch in flag update during back to back voice calls scenario. Update adev->voice_device_set flag in voice_stop_call instead of update_calls(). Rename voice_device_set flag to in_call for readability. Change-Id: Ie07105671f254899890bdb4c0635c7dc1f55dbff