зеркало из https://github.com/mozilla/gecko-dev.git
Bug 970191 - Fix unable to switch default client of data connection in DSDS. r=hsinyi
This commit is contained in:
Родитель
36ced35ebe
Коммит
1abf46ec51
|
@ -926,13 +926,13 @@ XPCOMUtils.defineLazyGetter(this, "gDataConnectionManager", function () {
|
|||
if (network.state == Ci.nsINetworkInterface.NETWORK_STATE_UNKNOWN) {
|
||||
let connHandler = this._connectionHandlers[this._currentDataClientId];
|
||||
let radioInterface = connHandler.radioInterface;
|
||||
if (!connHandler.allDataDisconnected() &&
|
||||
if (connHandler.allDataDisconnected() &&
|
||||
typeof this._pendingDataCallRequest === "function") {
|
||||
if (RILQUIRKS_DATA_REGISTRATION_ON_DEMAND) {
|
||||
radioInterface.setDataRegistration(false);
|
||||
}
|
||||
if (DEBUG) {
|
||||
debug("All data calls disconnected, setup pending data call.");
|
||||
this.debug("All data calls disconnected, setup pending data call.");
|
||||
}
|
||||
this._pendingDataCallRequest();
|
||||
this._pendingDataCallRequest = null;
|
||||
|
|
Загрузка…
Ссылка в новой задаче