Closed
Bug 936763
Opened 11 years ago
Closed 11 years ago
B2G MMS: the connected/disconnected network can come from 3G not MMS, which throws exceptions when accessing MMS proxy settings
Categories
(Firefox OS Graveyard :: RIL, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: airpingu, Assigned: airpingu)
References
Details
Attachments
(1 file, 2 obsolete files)
2.04 KB,
patch
|
vicamo
:
review+
|
Details | Diff | Splinter Review |
No description provided.
Assignee | ||
Comment 1•11 years ago
|
||
Steps:
1. Turn off 3G.
2. Send an MMS.
3. MmsService.js will create a connection for that and cache it for 30 seconds.
4. Within this 30 seconds, turn on 3G.
5. Log shows:
E/GeckoConsole( 111): [JavaScript Error: "NS_ERROR_UNEXPECTED: 'Unexpected error' when calling method: [nsIRilNetworkInterface::mmsc]" {file: "jar:file:///system/b2g/omni.ja!/components/MmsService.js" line: 165}]
Assignee | ||
Comment 2•11 years ago
|
||
I don't have a better solution by far since APN can be shared for 3G and MMS, unless we can expose something like .inConnectedTypes(...).
Assignee | ||
Comment 3•11 years ago
|
||
Attachment #829706 -
Flags: review?(vyang)
Assignee | ||
Comment 4•11 years ago
|
||
Bug 928861 can help this a lot, which provides a callback not observer for connected. This patch is just a work-around.
Assignee | ||
Updated•11 years ago
|
Summary: B2g MMS: the connected network interface can com from 3G not MMS, which throws exceptions when accessing MMS proxy settings → B2G MMS: the connected/disconnected network can come from 3G not MMS, which throws exceptions when accessing MMS proxy settings
Assignee | ||
Comment 5•11 years ago
|
||
A better solution. Please see the comment. Thanks!
Attachment #829706 -
Attachment is obsolete: true
Attachment #829706 -
Flags: review?(vyang)
Attachment #829719 -
Flags: review?(vyang)
Assignee | ||
Comment 6•11 years ago
|
||
Polish the comment.
Attachment #829719 -
Attachment is obsolete: true
Attachment #829719 -
Flags: review?(vyang)
Attachment #829720 -
Flags: review?(vyang)
Updated•11 years ago
|
Attachment #829720 -
Flags: review?(vyang) → review+
Comment 7•11 years ago
|
||
Comment 8•11 years ago
|
||
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 9•11 years ago
|
||
Hi skao, please take a look at this bug which might be related to what you're working for NetworkManager.acquireConnection(). Well, if it's lucky enough it might also solve bug 937013.
Btw, thanks Vicamo for the review and check-in. :)
Blocks: 928861
Comment 10•11 years ago
|
||
Hi Gene,
I tried a build including this patch and didn't solve bug 937013 :(
You need to log in
before you can comment on or make changes to this bug.
Description
•