commit | 7a2545c8b31d890baf79c02736ea62d3489361ef | [log] [tgz] |
---|---|---|
author | Shiv Maliyappanahalli <smaliyap@codeaurora.org> | Fri Nov 08 18:26:33 2013 -0800 |
committer | Shiv Maliyappanahalli <smaliyap@codeaurora.org> | Mon Nov 11 14:59:08 2013 -0800 |
tree | 260756de0a3631467af2d96846ef50617b06484b | |
parent | 3bb7358558eec93501c926b0077f28187a43c7b1 [diff] |
hal: Fix voice calls starting on speaker unintendedly If setParameters(vsid, callstate) call is processed before setparameter(routing), voice calls will be started on speaker. Fix by not starting voice calls by checking if the primary output device is speaker. Change-Id: If3ecb83bbcb02d5da40d66340276263413adabc9