Closed
Bug 886757
Opened 11 years ago
Closed 11 years ago
We need to load the operator size limit for MMS from the apn.json file
Categories
(Firefox OS Graveyard :: Gaia::System, defect)
Tracking
(blocking-b2g:leo+, b2g18 fixed, b2g-v1.1hd fixed)
People
(Reporter: gnarf, Assigned: gnarf)
References
Details
Attachments
(1 file, 1 obsolete file)
23.77 KB,
patch
|
kaze
:
review+
|
Details | Diff | Splinter Review |
We should to allow the operators to define the limit for their MCC/MNC combo inside our apn.json file. This ties in with the SMS app code landed with bug 840061.
Assignee | ||
Comment 1•11 years ago
|
||
Attachment #767132 -
Flags: review?(kaze)
Assignee | ||
Updated•11 years ago
|
blocking-b2g: --- → leo?
Comment 2•11 years ago
|
||
Right now we have no such data in the apn.json database. I guess you are aware of that and someone could provide you the values to be added to the operator_variant.xml database.
Assignee | ||
Comment 3•11 years ago
|
||
(In reply to José Antonio Olivera Ortega [:jaoo] from comment #2) > Right now we have no such data in the apn.json database. I guess you are > aware of that and someone could provide you the values to be added to the > operator_variant.xml database. Yes, this is just to support being able to add this key to apn.json - We dicussed this during a meeting at the work week in taipei.
Updated•11 years ago
|
blocking-b2g: leo? → leo+
Assignee | ||
Comment 4•11 years ago
|
||
Going to wait for Beatriz to give me some information for APN's from TEF - Perhaps we could get some information for the size limit based on MCC/MNC from LG as well?
Flags: needinfo?(veeresh.maka)
Flags: needinfo?(brg)
Comment 5•11 years ago
|
||
Email sent with enclosed information about the values in some countries according to mcc/mnc values.
Flags: needinfo?(brg)
Comment 6•11 years ago
|
||
Comment on attachment 767132 [details] Loads the setting for MMS from apn.json >- 'ril.cellbroadcast.searchlist': 'cellBroadcastSearchList' >+ 'ril.cellbroadcast.searchlist': 'cellBroadcastSearchList', >+ 'dom.mms.operatorSizeLimitation': 'operatorSizeLimitation' I’m not sure to follow you: operatorSizeLimitation is not defined in `shared/resources/apn.json' yet, is it? >+ // default to 300k >+ case 'operatorSizeLimitation': >+ item[key] = apn[name] || 300 * 1024; >+ break; Nitpick: let’s define the default value (300*1024) in a constant along with AUTH_TYPES, please.
Comment 7•11 years ago
|
||
I just realized that Beatriz sent you the data *after* you wrote this patch. Can you integrate this data into operator_variant.xml, please?
Assignee | ||
Comment 8•11 years ago
|
||
* Loading operatorSizeLimitation from apn.json on startup * Tweak apn.json creator to load setting from operator_variant.xml * Add values from TEF for operator_variant.xml
Attachment #767132 -
Attachment is obsolete: true
Attachment #767132 -
Flags: review?(kaze)
Attachment #768152 -
Flags: review?(kaze)
Comment 9•11 years ago
|
||
Comment on attachment 768152 [details] [diff] [review] patch v2 Review of attachment 768152 [details] [diff] [review]: ----------------------------------------------------------------- ::: shared/resources/apn/query.js @@ +147,5 @@ > + var operatorSizeLimitation = > + otherSettings['operatorSizeLimitation']; > + if (operatorSizeLimitation) { > + operatorVariantSettings.operatorSizeLimitation = > + +operatorSizeLimitation; s/+operatorSizeLimitation/operatorSizeLimitation
Assignee | ||
Comment 10•11 years ago
|
||
The plus is there to force it to be a number instead of a string.
Assignee | ||
Comment 11•11 years ago
|
||
I mean, maybe I should move that cast up a couple lines to where the var is set, but I want to ensure this value is numeric
Updated•11 years ago
|
Attachment #768152 -
Flags: review?(kaze) → review+
Assignee | ||
Comment 12•11 years ago
|
||
master: https://github.com/mozilla-b2g/gaia/commit/151a1a160d22236a4664440c2f504364ec4a8891 v1-train: https://github.com/mozilla-b2g/gaia/commit/fa3d64fad6f3b69be17ebbfdf4b406108afc99f4
Comment 13•11 years ago
|
||
v1.1.0hd: fa3d64fad6f3b69be17ebbfdf4b406108afc99f4
status-b2g-v1.1hd:
--- → fixed
Assignee | ||
Updated•11 years ago
|
Flags: needinfo?(veeresh.maka)
You need to log in
before you can comment on or make changes to this bug.
Description
•