From 3c473feb0825b52662788a7eb7188e47d5a03c4b Mon Sep 17 00:00:00 2001 From: Eric Laurent Date: Tue, 2 Mar 2010 08:59:57 -0800 Subject: [PATCH] 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.