commit | ad34d57000ca7c90504cbd51522d010492bd33b1 | [log] [tgz] |
---|---|---|
author | Vidyakumar Athota <vathota@codeaurora.org> | Tue Aug 05 18:20:42 2014 -0700 |
committer | Gerrit - the friendly Code Review server <code-review@localhost> | Fri Aug 08 16:56:47 2014 -0700 |
tree | 936bb567a032f02dc6a403a3debcca3af184ef5f | |
parent | 2543824db531cc30a7b5378434be90fb27f835d7 [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