Closed Bug 1142736 Opened 9 years ago Closed 6 years ago

Export all ADN contacts in one call

Categories

(Firefox OS Graveyard :: Gaia::Contacts, defect, P3)

ARM
Gonk (Firefox OS)
defect

Tracking

(tracking-b2g:backlog)

RESOLVED WONTFIX
tracking-b2g backlog

People

(Reporter: cyang, Unassigned)

Details

(Keywords: perf)

Currently, when exporting contacts from the Contacts app, the UI allows you to select multiple contacts to be exported to the SIM card. During this process, only one contact is updated at a time via updateContact: https://github.com/mozilla-b2g/gaia/blob/master/apps/communications/contacts/js/export/sim.js#L138

I was curious what was the thought process behind doing the export this way rather than sending all contacts down in one call?

There could be added benefit to knowing how many total contacts would be updated at the very beginning of the export (or knowing when a call to updateContact would be the last one).
[Blocking Requested - why for this release]:
blocking-b2g: --- → 3.0?
Comms triage: Performance improvement. Let's backlog it.
blocking-b2g: 3.0? → ---
Keywords: perf
Priority: -- → P3
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.