Bug 1104481 - Provide correct parameters. r=hsinyi
authorSzu-Yu Chen [:aknow] <szchen@mozilla.com>
Tue, 09 Dec 2014 16:03:19 +0800
changeset 218870 6e2d5bc3ba75025e85894f0e5a96805b1a7463d7
parent 218744 9045013a21cd5ec910d243c4f9a3d8579f7367b5
child 218871 b6f49f403cc5e1b104b0b617ae3606d10a675ed5
push id27947
push userryanvm@gmail.com
push dateTue, 09 Dec 2014 19:11:13 +0000
treeherdermozilla-central@671726d017c2 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewershsinyi
bugs1104481
milestone37.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1104481 - Provide correct parameters. r=hsinyi
dom/system/gonk/RadioInterfaceLayer.js
--- a/dom/system/gonk/RadioInterfaceLayer.js
+++ b/dom/system/gonk/RadioInterfaceLayer.js
@@ -1926,17 +1926,18 @@ RadioInterface.prototype = {
             prefixLength: prefixLength ? parseInt(prefixLength, 10) : 0
           });
         }
         message.addresses = addresses;
         connHandler.handleDataCallState(message);
         break;
       case "emergencyCbModeChange":
         gMobileConnectionService.notifyEmergencyCallbackModeChanged(this.clientId,
-                                                                    message);
+                                                                    message.active,
+                                                                    message.timeoutMs);
         break;
       case "networkinfochanged":
         gMobileConnectionService.notifyNetworkInfoChanged(this.clientId,
                                                           message);
         if (message[RIL.NETWORK_INFO_DATA_REGISTRATION_STATE]) {
           connHandler.updateRILNetworkInterface();
         }
         break;