Bug 990428 - Do not reset mSlcConnected=false when indicator status update is disabled, f=jaliu, r=echou

This commit is contained in:
Ben Tian 2014-04-01 14:40:49 +08:00
Родитель 01c4feaa79
Коммит 78473067ed
1 изменённых файлов: 9 добавлений и 1 удалений

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

@ -754,7 +754,15 @@ BluetoothHfpManager::ReceiveSocketData(BluetoothSocket* aSocket,
}
mCMER = atCommandValues[3].EqualsLiteral("1");
mSlcConnected = mCMER;
/**
* SLC is connected once the "indicator status update" is enabled by
* AT+CMER command. See 4.2.1 in Bluetooth hands-free profile 1.6
* for more details.
*/
if (mCMER) {
mSlcConnected = true;
}
// If we get internal request for SCO connection,
// setup SCO after Service Level Connection established.