Closed Bug 932201 Opened 11 years ago Closed 11 years ago

[B2G][DSDS] Gecko needs to properly download MMS for non-active SIM

Categories

(Firefox OS Graveyard :: RIL, defect, P1)

ARM
Gonk (Firefox OS)
defect

Tracking

(blocking-b2g:1.3+, firefox28 fixed)

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

People

(Reporter: airpingu, Assigned: airpingu)

References

Details

Attachments

(1 file, 2 obsolete files)

This bug is specifically for Gecko part, which blocks bug 918558 (V1.3 user story).

Please see bug 918558, comment #6. We need to do:

1. When the MMS downloading mode is "automatic", for the non-active SIM, Gecko has to download the MMS as if "manual" mode.

2. When the user wants to manually download an MMS (by taping on the download button) that came from the non-active SIM, Gecko has to return an error code like "NonActiveSimCardError" to notify Gaia.
Depends on: 854326
Attached patch Patch (obsolete) — Splinter Review
Attachment #823904 - Flags: review?(ctai)
Note that this patch depends on bug 854326.
Comment on attachment 823904 [details] [diff] [review]
Patch

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

::: dom/mobilemessage/src/gonk/MmsService.js
@@ +1636,5 @@
>      }
>  
> +    // Under the "automatic" retrieval mode, for the non-active SIM, we have to
> +    // download the MMS as if it is "manual" retrieval mode.
> +    if (retrievalMode == RETRIEVAL_MODE_AUTOMATIC &&

Should be:

(retrievalMode == RETRIEVAL_MODE_AUTOMATIC || retrievalMode == RETRIEVAL_MODE_AUTOMATIC_HOME)
Attachment #823904 - Flags: review?(ctai)
Attached patch Patch, V2 (obsolete) — Splinter Review
Attachment #823904 - Attachment is obsolete: true
Attachment #824527 - Flags: review?(ctai)
1.3+ for blocking 1.3 committed user story
blocking-b2g: 1.3? → 1.3+
Ping for review? :)
Attachment #824527 - Flags: review?(ctai) → review+
Comment on attachment 824527 [details] [diff] [review]
Patch, V2

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

Looks good to me.
Attachment #824527 - Flags: review+
Attached patch Patch, V2.1Splinter Review
r=ctai,vicamo
Attachment #824527 - Attachment is obsolete: true
Attachment #827282 - Flags: review+
https://hg.mozilla.org/mozilla-central/rev/a6b599783f70
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Depends on: 943350
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: