зеркало из https://github.com/mozilla/gecko-dev.git
Merge b-i to m-c
This commit is contained in:
Коммит
b757a4e18f
|
@ -1,4 +1,4 @@
|
||||||
{
|
{
|
||||||
"revision": "ebb5c473c94911bb98acff5d46f6af209c12583e",
|
"revision": "06ea7706d72174637b5f956122f52200d3f81fda",
|
||||||
"repo_path": "/integration/gaia-central"
|
"repo_path": "/integration/gaia-central"
|
||||||
}
|
}
|
||||||
|
|
|
@ -1653,14 +1653,8 @@ BluetoothHfpManager::ConnectSco(BluetoothReplyRunnable* aRunnable)
|
||||||
bool
|
bool
|
||||||
BluetoothHfpManager::DisconnectSco()
|
BluetoothHfpManager::DisconnectSco()
|
||||||
{
|
{
|
||||||
if (!IsConnected()) {
|
if (!IsScoConnected()) {
|
||||||
BT_WARNING("BluetoothHfpManager is not connected");
|
BT_WARNING("SCO has been already disconnected.");
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
SocketConnectionStatus status = mScoSocket->GetConnectionStatus();
|
|
||||||
if (status != SOCKET_CONNECTED && status != SOCKET_CONNECTING) {
|
|
||||||
BT_WARNING("No SCO exists");
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -2348,7 +2348,7 @@ function WifiWorker() {
|
||||||
self.networksArray = [];
|
self.networksArray = [];
|
||||||
for (let i = 1; i < lines.length; ++i) {
|
for (let i = 1; i < lines.length; ++i) {
|
||||||
// bssid / frequency / signal level / flags / ssid
|
// bssid / frequency / signal level / flags / ssid
|
||||||
var match = /([\S]+)\s+([\S]+)\s+([\S]+)\s+(\[[\S]+\])?\s+(.*)/.exec(lines[i]);
|
var match = /([\S]+)\s+([\S]+)\s+([\S]+)\s+(\[[\S]+\])?\s(.*)/.exec(lines[i]);
|
||||||
|
|
||||||
if (match && match[5]) {
|
if (match && match[5]) {
|
||||||
let ssid = match[5],
|
let ssid = match[5],
|
||||||
|
|
Загрузка…
Ссылка в новой задаче