зеркало из https://github.com/mozilla/gecko-dev.git
Bug 826463 - Patch 1(v1): After disconnect BT headset while in-call, audio rerouting takes too long, r=echou
This commit is contained in:
Родитель
b17ad863b0
Коммит
2ad944e28e
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче