Closed Bug 794336 Opened 12 years ago Closed 12 years ago

B2G 3G: Using array for data call settings and RILNetworkInterface

Categories

(Core :: DOM: Device Interfaces, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 837488

People

(Reporter: swu, Assigned: kchang)

References

Details

Attachments

(2 files)

To make the data structure simpler and more generic, it's better to using array for data call settings and RILNetworkInterface. Reference: [1] https://bugzilla.mozilla.org/show_bug.cgi?id=782513#c12 [2] https://bugzilla.mozilla.org/show_bug.cgi?id=772747#c22
Blocks: b2g-3g
Summary: B2G RIL: Using array for data call settings and RILNetworkInterface → B2G 3G: Using array for data call settings and RILNetworkInterface
Attached patch Bug 794336 patch (deleted) — Splinter Review
Assignee: nobody → kchang
Attachment #678653 - Flags: review?(vyang)
Comment on attachment 678653 [details] [diff] [review] Bug 794336 patch Review of attachment 678653 [details] [diff] [review]: ----------------------------------------------------------------- Thanks for your work, but, IMHO this patch does two things: 1) make the line longer than before, 2) carelessly removes usingDefaultAPN() without providing any replacement logic. Besides, it's not as generic as claimed in issue description in some places like handleDataCallError(). Refactoring is good, but 2) introduces bugs when MMS/SUPL share default data connection.
Attachment #678653 - Flags: review?(vyang) → review-
(In reply to Vicamo Yang [:vicamo][:vyang] from comment #2) > Comment on attachment 678653 [details] [diff] [review] > Bug 794336 patch > > Review of attachment 678653 [details] [diff] [review]: > ----------------------------------------------------------------- > > Thanks for your work, but, IMHO this patch does two things: 1) make the line > longer than before, 2) carelessly removes usingDefaultAPN() without > providing any replacement logic. Besides, it's not as generic as claimed in > issue description in some places like handleDataCallError(). Refactoring is > good, but 2) introduces bugs when MMS/SUPL share default data connection. I think the item 2 is fixed in the patch of 794342. I will double check it.
Blocks: 794342
No longer blocks: b2g-3g
Attached patch Bug 794336 patch V2 (deleted) — Splinter Review
Do 2 modifications. 1. Avoid lines longer than 80 characters. 2. Add usingDefaultAPN().
Attachment #679493 - Flags: review?(vyang)
Comment on attachment 679493 [details] [diff] [review] Bug 794336 patch V2 Talked to Ken, I'd rather have a more generic solution here and already had a draft patch in bug 782513. Besides, separating data call related parameters into several Settings API set() calls is really something we should refactor first. It brings too much uncertainty and complexity while no obvious benefits gained.
Attachment #679493 - Flags: review?(vyang)
Depends on: 837488
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → DUPLICATE
No longer depends on: 837488
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: