Closed
Bug 891742
Opened 12 years ago
Closed 12 years ago
[B2G][Gaia] Set and Query the roaming preference setting in Gaia
Categories
(Firefox OS Graveyard :: Gaia::Settings, defect)
Tracking
(blocking-b2g:koi+)
RESOLVED
FIXED
blocking-b2g | koi+ |
People
(Reporter: kchang, Assigned: arthurcc)
References
Details
(Whiteboard: [UX ETA:9/6], [FT:RIL], [Sprint:4])
Attachments
(2 files)
It's necessary to allow user to select roaming mode (home only, roaming only or any) in setting app.
Reporter | ||
Updated•12 years ago
|
Reporter | ||
Updated•12 years ago
|
Assignee: nobody → gsvelto
I mean does it mean that device can't camp on home network when this item is selected?
Comment 3•12 years ago
|
||
(In reply to echu from comment #1)
> Hi Ken,
>
> What is the purpose of "roaming only" option?
>
> Thanks,
> Enpei
Correct the roaming mode we support:
1. home only.
2. roaming on affiliated networks.
3. roaming on any network.
I have did some test by switching between above 3 modes, but I did not see any different in my cdma device. I guess it is because device is in home network, and these will only affect device when it is in roaming.
Thanks
Updated•12 years ago
|
blocking-b2g: --- → koi+
Comment 4•12 years ago
|
||
Ivan and Candice, can you help to make sure it's under your radar? Thanks.
Flags: needinfo?(itsay)
Flags: needinfo?(cserran)
Hi Ken,
After the meeting with UX team on 7/22, are supported items still be following ones?
1. home only.
2. roaming on affiliated networks.
3. roaming on any network.
Thanks.
Reporter | ||
Comment 7•12 years ago
|
||
Tim, is it possible to have someone from you team to implement this setting option?
Flags: needinfo?(timdream)
Comment 8•12 years ago
|
||
I will check with Tim about the loading on the setting app and see if we have bandwidth on this.
Flags: needinfo?(itsay)
Comment 9•12 years ago
|
||
(In reply to Ken Chang from comment #7)
> Tim, is it possible to have someone from you team to implement this setting
> option?
Yes! Arthur, could you help or guide anyone in the office to solve the issue?
Flags: needinfo?(timdream)
Flags: needinfo?(cserran)
Flags: needinfo?(arthur.chen)
Updated•12 years ago
|
Whiteboard: [UX ETA:9/6]
Assignee | ||
Comment 10•12 years ago
|
||
I'll take the bug and reassign it to appropriate members.
Assignee: gsvelto → arthur.chen
Flags: needinfo?(arthur.chen)
Assignee | ||
Comment 11•12 years ago
|
||
Related APIs for this bug are:
- mobileConnection.setRoamingPreference
- mobileConnection.getRoamingPreference
Possible values include:
- "home" : disable roaming
- "roaming" : enable roaming
- "affiliated" : enable roaming only with affiliated operators
The APIs are only for CDMA. Calling to the APIs on a GSM device always gets not support error.
Assignee | ||
Comment 12•12 years ago
|
||
The possible values should be:
- "home" : disable roaming
- "any" : enable roaming
- "affiliated" : enable roaming only with affiliated operators
It should be "any" instead of "roaming".
Updated•12 years ago
|
Whiteboard: [UX ETA:9/6] → [UX ETA:9/6], [FT:RIL], [Sprint:4]
Assignee | ||
Comment 13•12 years ago
|
||
In this patch it gets the current network type based on the json file. We assumes that the device does not support gsm and cdma at the same time. And it initializes the corresponding selector based on the network type.
Jose, could you help review the patch? Thanks!
Attachment #786217 -
Flags: review?(josea.olivera)
Assignee | ||
Comment 14•12 years ago
|
||
Put network.json to GAIA_DIR/distribution and make reset-gaia to have a build for CDMA.
Comment 15•12 years ago
|
||
Comment on attachment 786217 [details]
link to https://github.com/mozilla-b2g/gaia/pull/11374
I left a couple of comments on github but nothing important. Looks good, works well. I guess you will run into merge conflicts when landing bug 881862 after this one. Thanks Arthur!
Attachment #786217 -
Flags: review?(josea.olivera) → review+
Assignee | ||
Comment 16•12 years ago
|
||
Comment addressed, thanks for reviewing, Antonio! I also modified the code a little bit to address the need of showing all network modes by default.
master: https://github.com/mozilla-b2g/gaia/commit/20d43f63870098952b430d9e303b8309d206e059
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Comment 17•12 years ago
|
||
Hi Ken,
Since there is no further information about how non-affiliated network should be implemented, should it be removed from the setting?
Flags: needinfo?(kchang)
Reporter | ||
Comment 18•12 years ago
|
||
Enpei, Sure. I will fire another bug for removing "non-affiliated".
Flags: needinfo?(kchang)
You need to log in
before you can comment on or make changes to this bug.
Description
•