diff --git a/dom/system/gonk/RadioInterfaceLayer.js b/dom/system/gonk/RadioInterfaceLayer.js index 875fb3d71a10bcc055dc933b5f5f0de154156d11..c2cfaf756303aad9c54ca97c425b2a8515e8c833 100644 --- a/dom/system/gonk/RadioInterfaceLayer.js +++ b/dom/system/gonk/RadioInterfaceLayer.js @@ -1417,6 +1417,17 @@ RadioInterfaceLayer.prototype = { timestamp, true); + gSystemMessenger.broadcastMessage("sms-sent", + {id: id, + delivery: DOM_SMS_DELIVERY_SENT, + deliveryStatus: RIL.GECKO_SMS_DELIVERY_STATUS_PENDING, + sender: message.sender || null, + receiver: options.number, + body: options.fullBody, + messageClass: messageClass, + timestamp: timestamp, + read: true}); + if (!options.requestStatusReport) { // No more used if STATUS-REPORT not requested. delete this._sentSmsEnvelopes[message.envelopeId];