Bug 851046: Patch 3 - Replace (Bluetooth*Managers)->CloseSocket() with (Bluetooth*Managers)->Disconnect(); r=mrbkap

This commit is contained in:
Eric Chou 2013-04-04 17:52:48 -07:00
parent 4d042d6bbd
commit a0b0306990

View File

@ -833,17 +833,17 @@ public:
{
BluetoothHfpManager* hfp = BluetoothHfpManager::Get();
if (hfp) {
hfp->CloseSocket();
hfp->Disconnect();
}
BluetoothOppManager* opp = BluetoothOppManager::Get();
if (opp) {
opp->CloseSocket();
opp->Disconnect();
}
BluetoothScoManager* sco = BluetoothScoManager::Get();
if (sco) {
sco->CloseSocket();
sco->Disconnect();
}
return NS_OK;