commit | 07a9ea232c89b45d69683a8cfb98c9dfcbfc5c98 | [log] [tgz] |
---|---|---|
author | Shiv Maliyappanahalli <smaliyap@codeaurora.org> | Mon Jan 06 14:53:52 2014 -0800 |
committer | Gerrit - the friendly Code Review server <code-review@localhost> | Fri Jan 10 16:27:18 2014 -0800 |
tree | 2290b43f9d0f17c96eaaa4019248f69d3717643a | |
parent | 7cb06b30d7182b9eebc17f85ce4e4d4bd889d796 [diff] |
hal: fix no audio in qchat call with speaker as default device HAL doesnt let voice calls start if the device is set to speaker as voice calls generally start on devices other than speaker. However QCHAT calls start by calling setForceUse and setting the device to speaker. Fix by updating a flag whenever device routing happens when AUDIO_MODE_IN_CALL. Reset the flag when mode is AUDIO_MODE_NORMAL. CRs-fixed: 596074 Change-Id: I546959d2b0123828562dba1f6439aa494a365c3f