Closed Bug 933207 Opened 11 years ago Closed 11 years ago

B2G SMS & MMS: Fire system messages for the delivery reports

Categories

(Firefox OS Graveyard :: RIL, defect)

ARM
Gonk (Firefox OS)
defect
Not set
blocker

Tracking

(blocking-b2g:1.3+, firefox28 fixed)

RESOLVED FIXED
blocking-b2g 1.3+
Tracking Status
firefox28 --- fixed

People

(Reporter: airpingu, Assigned: airpingu)

References

Details

(Keywords: feature, Whiteboard: [ucid:Comms28, 1.3:p1])

Attachments

(2 files, 1 obsolete file)

      No description provided.
Attached patch Patch, V1 (obsolete) — Splinter Review
Assignee: nobody → gene.lian
Status: NEW → ASSIGNED
Attachment #825778 - Flags: review?(ctai)
1.3+ for a committed 1.3 user story
blocking-b2g: 1.3? → 1.3+
Comment on attachment 825778 [details] [diff] [review]
Patch, V1

Review of attachment 825778 [details] [diff] [review]:
-----------------------------------------------------------------

::: dom/mobilemessage/src/gonk/MmsService.js
@@ +1712,5 @@
>        // TODO bug 832140 handle !Components.isSuccessCode(aRv)
>  
>        let topic;
>        if (mmsStatus === MMS.MMS_PDU_STATUS_RETRIEVED) {
>          topic = kSmsDeliverySuccessObserverTopic;

How about add this.broadcastMmsSystemMessage(topic, aDomMessage); right here?

@@ +1723,5 @@
>  
> +      // Broadcasting a 'sms-delivery-success' system message to open apps.
> +      if (topic == kSmsDeliverySuccessObserverTopic) {
> +        this.broadcastMmsSystemMessage(topic, aDomMessage);
> +      }

Delete these lines.
Attachment #825778 - Flags: review?(ctai) → review+
Attached patch Patch, V2Splinter Review
Thanks for the review. r=ctai
Attachment #825778 - Attachment is obsolete: true
Attachment #825819 - Flags: review+
Flags: in-testsuite-
Attached patch Patch, follow-upSplinter Review
Sorry. Miss one bit. Carry on r=ctai.
Attachment #825919 - Flags: review+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: