зеркало из https://github.com/mozilla/gecko-dev.git
Bug 933207 - B2G SMS & MMS: Fire system messages for the delivery reports (follow-up). r=ctai
This commit is contained in:
Родитель
9eefa26946
Коммит
8f3a6f21e7
|
@ -1707,7 +1707,7 @@ MmsService.prototype = {
|
|||
address,
|
||||
null,
|
||||
deliveryStatus,
|
||||
function notifySetDeliveryResult(aRv, aDomMessage) {
|
||||
(function notifySetDeliveryResult(aRv, aDomMessage) {
|
||||
if (DEBUG) debug("Marking the delivery status is done.");
|
||||
// TODO bug 832140 handle !Components.isSuccessCode(aRv)
|
||||
|
||||
|
@ -1726,7 +1726,7 @@ MmsService.prototype = {
|
|||
|
||||
// Notifying observers the delivery status is updated.
|
||||
Services.obs.notifyObservers(aDomMessage, topic, null);
|
||||
});
|
||||
}).bind(this));
|
||||
},
|
||||
|
||||
/**
|
||||
|
|
|
@ -3005,7 +3005,7 @@ RadioInterface.prototype = {
|
|||
context.sms.delivery,
|
||||
response.deliveryStatus,
|
||||
null,
|
||||
function notifyResult(rv, domMessage) {
|
||||
(function notifyResult(rv, domMessage) {
|
||||
// TODO bug 832140 handle !Components.isSuccessCode(rv)
|
||||
|
||||
let topic = (response.deliveryStatus ==
|
||||
|
@ -3020,7 +3020,7 @@ RadioInterface.prototype = {
|
|||
|
||||
// Notifying observers the delivery status is updated.
|
||||
Services.obs.notifyObservers(domMessage, topic, null);
|
||||
});
|
||||
}).bind(this));
|
||||
|
||||
// Send transaction has ended completely.
|
||||
return false;
|
||||
|
|
Загрузка…
Ссылка в новой задаче