mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-23 19:09:49 +00:00
Bug 929864 - B2G DSDS: correctly update RILNetworkInterface when wifi connection changes. f=edgar r=hsinyi
This commit is contained in:
parent
d65c039dec
commit
1484dc927b
@ -244,7 +244,9 @@ NetworkManager.prototype = {
|
||||
this.setAndConfigureActive();
|
||||
// Update data connection when Wifi connected/disconnected
|
||||
if (network.type == Ci.nsINetworkInterface.NETWORK_TYPE_WIFI) {
|
||||
this.mRIL.getRadioInterface(0).updateRILNetworkInterface();
|
||||
for (let i = 0; i < this.mRIL.numRadioInterfaces; i++) {
|
||||
this.mRIL.getRadioInterface(i).updateRILNetworkInterface();
|
||||
}
|
||||
}
|
||||
|
||||
this.onConnectionChanged(network);
|
||||
@ -272,7 +274,9 @@ NetworkManager.prototype = {
|
||||
this.setAndConfigureActive();
|
||||
// Update data connection when Wifi connected/disconnected
|
||||
if (network.type == Ci.nsINetworkInterface.NETWORK_TYPE_WIFI) {
|
||||
this.mRIL.getRadioInterface(0).updateRILNetworkInterface();
|
||||
for (let i = 0; i < this.mRIL.numRadioInterfaces; i++) {
|
||||
this.mRIL.getRadioInterface(i).updateRILNetworkInterface();
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user