Fix issue 2473815: The ACDB ID used for Bluetooth TX is not set correctly for MT call.

The problem occurs if the BT SCO socket is established before the call is answered. In this case,
the first device selected when entering in call state is the BT device but current implementation
of do_route_audio_dev_ctrl() does not apply ACDB settings when calling AUDIO_START_VOICE except
for HAC device.
If the SCO socket is established after we enter in call mode, we receive a new routing request
after AUDIO_START_VOICE has been executed and in this case the new ACDB settings are applied.

The fix consists in applying ACDB settings when calling AUDIO_START_VOICE regardless of the
device used.
This commit is contained in:
Eric Laurent 2010-03-02 08:59:57 -08:00
parent ea53b07e8b
commit 3c473feb08

Diff Content Not Available