Closed Bug 880813 Opened 11 years ago Closed 11 years ago

[MMS] Specify maximum allowed file size when invoking the "pick" MozActivity

Categories

(Firefox OS Graveyard :: Gaia::SMS, defect)

x86_64
Linux
defect
Not set
normal

Tracking

(blocking-b2g:leo+, b2g18 verified, b2g-v1.1hd fixed)

RESOLVED FIXED
blocking-b2g leo+
Tracking Status
b2g18 --- verified
b2g-v1.1hd --- fixed

People

(Reporter: jugglinmike, Assigned: jugglinmike)

References

Details

Attachments

(2 files)

As discussed in bug 868225, the MMS application should specify the maximum file size it may accept when initiating a "pick" Activity. This gives the application handling the Activity an opportunity to filter out files that are too large.
Because this attribute is informal (in other words, Gecko does not honor it in any way), there is no guaruntee that files returning from the "pick" Activity will actually be small enough for inclusion in an MMS message. Therefor, the MMS application should defensively check the size of files returned by the "pick" Activity and display an error if the file is too large.
Attachment #759939 - Flags: review?(gnarf37)
Comment on attachment 759939 [details] [diff] [review]
Specify maximum allowed file size when invoking the "pick" MozActivity

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

r=me
Attachment #759939 - Flags: review?(gnarf37) → review+
Dietrich, this is a new bug necessary for the video capture limit stuff we've been talking about.
blocking-b2g: --- → leo?
Flags: needinfo?(dietrich)
Landed with commit 94b58b96098d0459e7ceb66e4a009debc55a0c45

Thanks for the review, Corey!
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
blocking-b2g: leo? → leo+
Flags: needinfo?(dietrich)
Uplifted 94b58b96098d0459e7ceb66e4a009debc55a0c45 to:
v1-train: b903bc3abbd1bad9eb4761b682d2a0a0d059083b
1.1hd: b903bc3abbd1bad9eb4761b682d2a0a0d059083b
When the user reaches is able to see that the user has exceeded the maximum length in an MMS. See screenshot attached. 

The issue seemed to be fixed for v1.1 

Environmental Variables
Leo Build ID: 20130807071207
Gecko: http://hg.mozilla.org/releases/mozilla-b2g18/rev/11bb1b0eefff
Gaia: 60ca81600a080dae33058b0692ecaa213556c926
Platform Version: 18.1
Attached image 2013-08-07-16-45-13.png (deleted) —
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: