diff --git a/dom/system/gonk/RadioInterfaceLayer.js b/dom/system/gonk/RadioInterfaceLayer.js index fa87d771cdf6..3f90f87058c2 100644 --- a/dom/system/gonk/RadioInterfaceLayer.js +++ b/dom/system/gonk/RadioInterfaceLayer.js @@ -34,6 +34,7 @@ const nsIRadioInterfaceLayer = Ci.nsIRadioInterfaceLayer; const kNetworkInterfaceStateChangedTopic = "network-interface-state-changed"; const kSmsReceivedObserverTopic = "sms-received"; +const kSmsSentObserverTopic = "sms-sent"; const kSmsDeliveredObserverTopic = "sms-delivered"; const kMozSettingsChangedObserverTopic = "mozsettings-changed"; const kSysMsgListenerReadyObserverTopic = "system-message-listener-ready"; @@ -1018,6 +1019,8 @@ RadioInterfaceLayer.prototype = { } gSmsRequestManager.notifySmsSent(options.requestId, sms); + + Services.obs.notifyObservers(options.sms, kSmsSentObserverTopic, null); }, handleSmsDelivered: function handleSmsDelivered(message) {