Bug 817945 - B2G MMS: Configure MMS proxy settings through SettingsService (follow-up). r=vicamo, a=tef+
☠☠ backed out by 512258bc00a3 ☠ ☠
authorGene Lian <clian@mozilla.com>
Tue, 04 Dec 2012 13:36:02 +0800
changeset 118656 c516d7e67150c808761d99901c19621c2bc603c7
parent 118655 4931ec89ebbeb7d15e16db8fe74623d8345067dc
child 118657 67586fc4ad0dd022d6ebd88fa7bea08295741067
push id70
push userryanvm@gmail.com
push dateWed, 27 Mar 2013 19:42:27 +0000
reviewersvicamo, tef
bugs817945
milestone18.0
Bug 817945 - B2G MMS: Configure MMS proxy settings through SettingsService (follow-up). r=vicamo, a=tef+
dom/system/gonk/NetworkManager.js
--- a/dom/system/gonk/NetworkManager.js
+++ b/dom/system/gonk/NetworkManager.js
@@ -462,31 +462,31 @@ NetworkManager.prototype = {
     debug("Going to add host route on " + network.name);
     let options = {
       cmd: "addHostRoute",
       ifname: network.name,
       dns1: network.dns1,
       dns2: network.dns2,
       gateway: network.gateway,
       httpproxy: network.httpProxyHost,
-      mmsproxy: Services.prefs.getCharPref("ril.data.mmsproxy")
+      mmsproxy: Services.prefs.getCharPref("ril.mms.mmsproxy")
     };
     this.worker.postMessage(options);
   },
 
   removeHostRoute: function removeHostRoute(network) {
     debug("Going to remove host route on " + network.name);
     let options = {
       cmd: "removeHostRoute",
       ifname: network.name,
       dns1: network.dns1,
       dns2: network.dns2,
       gateway: network.gateway,
       httpproxy: network.httpProxyHost,
-      mmsproxy: Services.prefs.getCharPref("ril.data.mmsproxy")
+      mmsproxy: Services.prefs.getCharPref("ril.mms.mmsproxy")
     };
     this.worker.postMessage(options);
   },
 
   setNetworkProxy: function setNetworkProxy() {
     try {
       if (!this.active.httpProxyHost || this.active.httpProxyHost == "") {
         // Sets direct connection to internet.