Bug 728864 - B2g SMS: Fix SMS success notifications. r=qDot DONTBUILD because NPOTB

--HG--
extra : rebase_source : 4ef167621f0e38b8d446bd09a117973ef8431aef
This commit is contained in:
Philipp von Weitershausen 2012-02-20 15:57:38 +01:00
parent ded9d399f1
commit b649557f72

View File

@ -319,15 +319,15 @@ RadioInterfaceLayer.prototype = {
},
handleSmsSent: function handleSmsSent(message) {
let message = gSmsService.createSmsMessage(-1,
DOM_SMS_DELIVERY_SENT,
message.SMSC,
message.number,
message.body,
Date.now());
let sms = gSmsService.createSmsMessage(-1,
DOM_SMS_DELIVERY_SENT,
null,
message.number,
message.body,
Date.now());
//TODO At this point we should save the sms into the DB (bug 712809)
//TODO handle errors (bug XXX)
gSmsRequestManager.notifySmsSent(message.requestId, message);
//TODO handle errors (bug 727319)
gSmsRequestManager.notifySmsSent(message.requestId, sms);
},
/**