Bug 826463 - Patch 1(v1): After disconnect BT headset while in-call, audio rerouting takes too long, r=echou

This commit is contained in:
Gina Yeh 2013-01-05 12:34:19 +08:00
Родитель b17ad863b0
Коммит 2ad944e28e
1 изменённых файлов: 2 добавлений и 1 удалений

Просмотреть файл

@ -604,7 +604,7 @@ BluetoothHfpManager::ReceiveSocketData(UnixSocketRawData* aMessage)
// For more information, please refer to 4.34.1 "Bluetooth Defined AT
// Capabilities" in Bluetooth hands-free profile 1.6
if (msg.Find("AT+BRSF=") != -1) {
SendCommand("+BRSF: ", 23);
SendCommand("+BRSF: ", 33);
} else if (msg.Find("AT+CIND=?") != -1) {
// Asking for CIND range
SendCommand("+CIND: ", 0);
@ -831,6 +831,7 @@ BluetoothHfpManager::Disconnect()
return;
}
CloseScoSocket();
CloseSocket();
}