Bug 1119090 - B2G RIL: There is no missed call information when receive a missed call during active call. r=aknow
authorShawn Ku <sku@mozilla.com>
Thu, 08 Jan 2015 11:47:02 +0800
changeset 248492 fa7a1beefeb991bd2bdaf4207963486e58bfff95
parent 248491 ec211f0ef71a2e507352125639e5cd641cfa508a
child 248493 50eed0f4edc7036380841901920b4623c7d0f9c9
push id4489
push userraliiev@mozilla.com
push dateMon, 23 Feb 2015 15:17:55 +0000
treeherdermozilla-beta@fd7c3dc24146 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersaknow
bugs1119090
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 1119090 - B2G RIL: There is no missed call information when receive a missed call during active call. r=aknow
dom/system/gonk/ril_worker.js
--- a/dom/system/gonk/ril_worker.js
+++ b/dom/system/gonk/ril_worker.js
@@ -4126,17 +4126,17 @@ RilObject.prototype = {
       number = "+" + number;
     }
 
     return number;
   },
 
   _addVoiceCall: function(newCall) {
     newCall.number = this._formatInternationalNumber(newCall.number, newCall.toa);
-    newCall.isOutgoing = !(newCall.state == CALL_STATE_INCOMING);
+    newCall.isOutgoing = !newCall.isMT;
     newCall.isConference = false;
 
     this.currentCalls[newCall.callIndex] = newCall;
   },
 
   _handleChangedCallState: function(changedCall) {
     let message = {rilMessageType: "callStateChange",
                    call: changedCall};