Bug 882105 - Typo error breaking NetworkManager.js. r=vicamo

---
 dom/system/gonk/NetworkManager.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
This commit is contained in:
Alexandre Lissy 2013-06-13 01:05:55 +08:00
parent 24e6fecf58
commit 892b9d9dd0

View File

@ -259,8 +259,8 @@ NetworkManager.prototype = {
break;
case TOPIC_INTERFACE_REGISTERED:
let regNetwork = subject.QueryInterface(Ci.nsINetworkInterface);
debug("Network '" + regNetwork.name + "' registered, adding mmsproxy and/or mmsc route");
if (regNetwork.type == Ci.nsINetworkInterface.NETWORK_TYPE_MOBILE_MMS) {
debug("Network '" + regNetwork.name + "' registered, adding mmsproxy and/or mmsc route");
let mmsHosts = this.resolveHostname(
[ Services.prefs.getCharPref("ril.mms.mmsproxy"),
Services.prefs.getCharPref("ril.mms.mmsc") ]
@ -270,8 +270,8 @@ NetworkManager.prototype = {
break;
case TOPIC_INTERFACE_UNREGISTERED:
let unregNetwork = subject.QueryInterface(Ci.nsINetworkInterface);
debug("Network '" + regNetwork.name + "' unregistered, removing mmsproxy and/or mmsc route");
if (unregNetwork.type == Ci.nsINetworkInterface.NETWORK_TYPE_MOBILE_MMS) {
debug("Network '" + unregNetwork.name + "' unregistered, removing mmsproxy and/or mmsc route");
let mmsHosts = this.resolveHostname(
[ Services.prefs.getCharPref("ril.mms.mmsproxy"),
Services.prefs.getCharPref("ril.mms.mmsc") ]