Closed
Bug 962453
Opened 11 years ago
Closed 11 years ago
[DSDS] Once visit APN setting of one SIM, same APN of another SIM will be changed to "Custom"
Categories
(Firefox OS Graveyard :: Gaia::Settings, defect)
Tracking
(blocking-b2g:1.3+, b2g-v1.3 verified)
Tracking | Status | |
---|---|---|
b2g-v1.3 | --- | verified |
People
(Reporter: echu, Assigned: jaoo)
Details
(Whiteboard: dsdsrun1.3-2 [FT:RIL])
Attachments
(3 files, 4 obsolete files)
+++ This bug was initially created as a clone of Bug #960388 +++
When switch SIM 1 either data/message/A-GPS APN setting, i.e. select 2nd item in data apn setting, SIM 2 data setting will be set to "custom", vice versa.
* Build Number
Fugu
Gaia a119a0692c24c5ed7c55bab838bae3ecdb9dbec9
Gecko 15ee4e78431b45922b41dea882464b0ccb6b4fac
BuildID 20140110174141
Version 28.0a2
* Reproduce Steps
1. Go to Data setting of SIM 1, select first APN item, not custom.
2. Go to Data setting of SIM 2, find that APN is set in custom, change it to first item.
3. Go back to Data setting of SIM 1.
* Expected Result
APN should be kept in first item.
* Actual Result
SIM 1 APN is set to custom. Same behavior on Data/Message and GPS APN settings.
* Occurrence rate
100%
Assignee | ||
Comment 1•11 years ago
|
||
I'll take care of it. Need to review and touch a bit how to select the APN being used for the RIL plumbing when creating the APN list.
Assignee: nobody → josea.olivera
Updated•11 years ago
|
Whiteboard: dsdsrun1.3-2 → dsdsrun1.3-2 [FT:RIL]
Assignee | ||
Comment 2•11 years ago
|
||
This patch should fix the issue. Needs to be tested on fugu device. I'll request review as soon as I do the tests.
Comment 3•11 years ago
|
||
Enpei
Please help with attaching a video of the same.
Flags: needinfo?(echu)
Assignee | ||
Comment 4•11 years ago
|
||
Assignee | ||
Comment 5•11 years ago
|
||
Arthur, I wanted to touch a bit how to select the APN being used for the RIL plumbing when creating the APN list. This patch selects it correctly and solves the issue Enpei found. Could you take a look please? Thanks.
I found something we miss in the system/js/operator_variant/operator_variant.js file when we refactor that part for DSDS features. It is about authentication type for the APN. Please let me know if you want to take out and file a new bug for it.
PS. Feel free to review the patch through the PR.
Attachment #8363774 -
Attachment is obsolete: true
Attachment #8364465 -
Flags: review?(arthur.chen)
Please notice that the video was taken after flash build. So when I opened SIM 2 data setting, the default checked item is "Custom" already which is very odd.
Flags: needinfo?(echu)
Updated•11 years ago
|
blocking-b2g: 1.3? → 1.3+
Comment 7•11 years ago
|
||
Comment on attachment 8364465 [details] [diff] [review]
v2
Thanks for the patch, Jose. Please check my github comments.
Attachment #8364465 -
Flags: review?(arthur.chen)
Assignee | ||
Comment 8•11 years ago
|
||
(In reply to Arthur Chen [:arthurcc] (OOO 1/30 ~ 2/4) from comment #7)
> Comment on attachment 8364465 [details] [diff] [review]
> v2
>
> Thanks for the patch, Jose. Please check my github comments.
Thanks Arthur, comments addressed. Could you take a look a it again please? Thanks.
Attachment #8364465 -
Attachment is obsolete: true
Attachment #8367175 -
Flags: review?(arthur.chen)
Assignee | ||
Comment 9•11 years ago
|
||
Bug 962912 just landed. This is the version after rebasing. Arthur, Could you take a look a it again please? Thanks.
Attachment #8367175 -
Attachment is obsolete: true
Attachment #8367175 -
Flags: review?(arthur.chen)
Assignee | ||
Updated•11 years ago
|
Attachment #8367266 -
Flags: review?(arthur.chen)
Comment 10•11 years ago
|
||
Comment on attachment 8367266 [details] [diff] [review]
v4
A few comments related to UI, could you check them in github? Thanks.
Attachment #8367266 -
Flags: review?(arthur.chen)
Assignee | ||
Comment 11•11 years ago
|
||
Address review comments made at comment #10. PR updated as well.
Attachment #8367266 -
Attachment is obsolete: true
Attachment #8367849 -
Flags: review?(arthur.chen)
Comment 12•11 years ago
|
||
Comment on attachment 8367849 [details] [diff] [review]
v5
r=me with the last comment addressed. Thank you for the effort!
Attachment #8367849 -
Flags: review?(arthur.chen) → review+
Assignee | ||
Comment 13•11 years ago
|
||
Thanks Arthur, landed on Gaia master branch at https://github.com/mozilla-b2g/gaia/commit/4d0b2ffaf044a20b5bea9d7d85d4ecc5a71080fd
Travis went green and everything seems to work correctly.
Status: NEW → RESOLVED
Closed: 11 years ago
status-b2g-v1.3:
--- → affected
Resolution: --- → FIXED
Target Milestone: --- → 1.3 C3/1.4 S3(31jan)
Comment 14•11 years ago
|
||
I was not able to uplift this bug to v1.3. If this bug has dependencies which are not marked in this bug, please comment on this bug. If this bug depends on patches that aren't approved for v1.3, we need to re-evaluate the approval. Otherwise, if this is just a merge conflict, you might be able to resolve it with:
git checkout v1.3
git cherry-pick -x -m1 4d0b2ffaf044a20b5bea9d7d85d4ecc5a71080fd
<RESOLVE MERGE CONFLICTS>
git commit
Flags: needinfo?(josea.olivera)
Assignee | ||
Comment 15•11 years ago
|
||
Landed on Gaia v1.3 branch at https://github.com/mozilla-b2g/gaia/commit/7ca66153de633fad5d034908dea809dce1015dbb
Flags: needinfo?(josea.olivera)
Reporter | ||
Comment 16•11 years ago
|
||
Verified.
Fugu -
Gaia bb36b4164d3e51ca04b612e507e1178f80bf240d
Gecko 4227240a4d3e1e418ced160c2a48cb454d7b5645
BuildID 20140204104742
Version 28.0
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•