Bug 990458 - Part 2: ril changes to support updateNetworkInterface(). r=edgar

This commit is contained in:
Jessica Jong 2014-07-29 16:44:26 +08:00
parent 999971eb71
commit 9c7e55f4df

View File

@ -69,7 +69,6 @@ const LTECELLINFO_CID =
Components.ID("{c7e0a78a-4e99-42f5-9251-e6172c5ed8d8}");
const NS_XPCOM_SHUTDOWN_OBSERVER_ID = "xpcom-shutdown";
const kNetworkInterfaceStateChangedTopic = "network-interface-state-changed";
const kNetworkConnStateChangedTopic = "network-connection-state-changed";
const kNetworkActiveChangedTopic = "network-active-changed";
const kSmsReceivedObserverTopic = "sms-received";
@ -5096,9 +5095,7 @@ RILNetworkInterface.prototype = {
this.state);
}
Services.obs.notifyObservers(this,
kNetworkInterfaceStateChangedTopic,
null);
gNetworkManager.updateNetworkInterface(this);
},
connect: function() {