зеркало из https://github.com/mozilla/gecko-dev.git
Bug 787370 - Part 1/3: notify missed SmsManager.onsent event, r=marshall_law
This commit is contained in:
Родитель
7e145213f4
Коммит
5eae125533
|
@ -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) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче