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
Родитель 1d26374b77
Коммит 3b06d6e966
1 изменённых файлов: 1 добавлений и 4 удалений

Просмотреть файл

@ -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() {