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)

ARM
Gonk (Firefox OS)
defect
Not set
normal

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.
Blocks: 890809
Depends on: 869768
Assignee: nobody → gsvelto
Hi Ken, What is the purpose of "roaming only" option? Thanks, Enpei
I mean does it mean that device can't camp on home network when this item is selected?
(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
blocking-b2g: --- → koi+
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.
Confirmed with Ken in agile meeting, 3 options unchanged.
Tim, is it possible to have someone from you team to implement this setting option?
Flags: needinfo?(timdream)
I will check with Tim about the loading on the setting app and see if we have bandwidth on this.
Flags: needinfo?(itsay)
(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)
Whiteboard: [UX ETA:9/6]
I'll take the bug and reassign it to appropriate members.
Assignee: gsvelto → arthur.chen
Flags: needinfo?(arthur.chen)
Depends on: 899484
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.
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".
Whiteboard: [UX ETA:9/6] → [UX ETA:9/6], [FT:RIL], [Sprint:4]
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)
Attached file network.json
Put network.json to GAIA_DIR/distribution and make reset-gaia to have a build for CDMA.
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+
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
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)
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.

Attachment

General

Created:
Updated:
Size: