Closed Bug 1025940 Opened 12 years ago Closed 12 years ago

Update self.data_layer.sim_contacts to read SDN Contacts

Categories

(Firefox OS Graveyard :: Gaia::UI Tests, defect, P1)

x86_64
Linux
defect

Tracking

(b2g-v2.0 affected)

RESOLVED FIXED
Tracking Status
b2g-v2.0 --- affected

People

(Reporter: Bebe, Unassigned)

Details

Attachments

(1 file)

Looks like now we are Importing SDN (Service Dialing Numbers) contacts Bug 876632 - [User Story] Service numbers (SDN) not imported from the SIM So our atom should import those contacts too. Let's update the atom
Here is the code for getting the contact type: http://dxr.mozilla.org/mozilla-central/source/dom/webidl/MozIcc.webidl#352 It looks like there's no 'all' option so we'll have to readContacts for 'adn' and 'sdn' and merge the results together before the callback.
Attachment #8442039 - Flags: review?(zcampbell)
Attachment #8442039 - Flags: review?(dave.hunt)
Comment on attachment 8442039 [details] [review] Link to Github pull-request: https://github.com/mozilla-b2g/gaia/pull/20686 Just one nit with the argument name, but otherwise this looks good to me. I haven't tested it though.
Attachment #8442039 - Flags: review?(dave.hunt) → review+
Comment on attachment 8442039 [details] [review] Link to Github pull-request: https://github.com/mozilla-b2g/gaia/pull/20686 I can only f+ as I don't have an sdn contact on my SIMs :(
Attachment #8442039 - Flags: review?(zcampbell) → feedback+
Dave pull updated
Comment on attachment 8442039 [details] [review] Link to Github pull-request: https://github.com/mozilla-b2g/gaia/pull/20686 Normally I don't need to review again if all you've done is address the nit. You can just carry my review forward. However, you've gone and changed more than you needed here. See the pull request comment, but now this is a r-.
Attachment #8442039 - Flags: review+ → review-
Comment on attachment 8442039 [details] [review] Link to Github pull-request: https://github.com/mozilla-b2g/gaia/pull/20686 Okay, looks good now. Thanks!
Attachment #8442039 - Flags: review- → review+
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
We need this for v2.0 too
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Status: REOPENED → RESOLVED
Closed: 12 years ago12 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: