Bug 998147 - Add an extra parameter to the telephony-call-ended event to allow Gaia to determine if the user should be sent a missed call notification. r=hsinyi

This commit is contained in:
Tamara Hills 2014-07-22 14:27:17 -04:00
parent 6b176c1477
commit 85506a6180

View File

@ -730,10 +730,11 @@ TelephonyService.prototype = {
serviceId: aClientId,
emergency: aCall.isEmergency,
duration: duration,
direction: aCall.isOutgoing ? "outgoing" : "incoming"
direction: aCall.isOutgoing ? "outgoing" : "incoming",
hangUpLocal: aCall.hangUpLocal
};
if(this._cdmaCallWaitingNumber != null) {
if (this._cdmaCallWaitingNumber != null) {
data.secondNumber = this._cdmaCallWaitingNumber;
this._cdmaCallWaitingNumber = null;
}