Closed
Bug 786535
Opened 12 years ago
Closed 12 years ago
B2G 3G: Handling roaming setting correctly.
Categories
(Core :: DOM: Device Interfaces, defect)
Tracking
()
RESOLVED
FIXED
mozilla18
People
(Reporter: jaoo, Assigned: jaoo)
References
Details
Attachments
(1 file, 2 obsolete files)
3.87 KB,
patch
|
jaoo
:
review+
|
Details | Diff | Splinter Review |
We're not handling roaming for data calls correctly right now. The user could have internet access in roaming even if she/he doesn't enable it in settings. That's an error that could happen if the user enables data calls while visiting a foreign network. Actually it's not a regression but an use case that we have not tested properly in the past.
Assignee | ||
Comment 1•12 years ago
|
||
This patch could be ready for requesting review right now. I'll test it properly with different ICC cards and request review at Philipp asasp.
Assignee | ||
Comment 2•12 years ago
|
||
It seems everything is correct now. Tested with a subscriber's SIM inside and outside (roaming) its home network.
Attachment #656306 -
Attachment is obsolete: true
Attachment #656441 -
Flags: review?(philipp)
Comment 3•12 years ago
|
||
Comment on attachment 656441 [details] [diff] [review] V1 Review of attachment 656441 [details] [diff] [review]: ----------------------------------------------------------------- ::: dom/system/gonk/RadioInterfaceLayer.js @@ +694,5 @@ > + "or doesn't have data connection."); > + return; > + } > + if (dataInfo.roaming && !this.dataCallSettings["roaming_enabled"]) { > + debug("Data connections are not allowed in roaming."); "We're roaming, but data roaming is disabled." @@ +703,3 @@ > RILNetworkInterface.connect(this.dataCallSettings); > } > + debug("Data call settings: nothing to do."); Bail out early above: if (!this.dataCallSettings["enabled"] || RILNetworkInterface.connected) { debug("Data call settings: nothing to do."); return; }
Attachment #656441 -
Flags: review?(philipp) → review+
Assignee | ||
Comment 4•12 years ago
|
||
Final version.
Attachment #656441 -
Attachment is obsolete: true
Attachment #656965 -
Flags: review+
Assignee | ||
Comment 5•12 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/2ff5338aa8c6
Target Milestone: --- → mozilla18
Comment 6•12 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/2ff5338aa8c6
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•