зеркало из https://github.com/mozilla/gecko-dev.git
Bug 990428 - Do not reset mSlcConnected=false when indicator status update is disabled, f=jaliu, r=echou
This commit is contained in:
Родитель
01c4feaa79
Коммит
78473067ed
|
@ -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.
|
||||
|
|
Загрузка…
Ссылка в новой задаче