Closed Bug 1023760 Opened 10 years ago Closed 10 years ago

[Loop] Create CallLog Helper

Categories

(Firefox OS Graveyard :: Gaia::Loop, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1034544

People

(Reporter: borjasalguero, Assigned: jaoo)

References

Details

We need to store & retrieve info related with recents calls of Loop.

This must be implemented as an IndexedDB, exposing (at least):
- Store a new entry in the IndexedDB
- Delete a set of recent calls based on IDs.
- Get a list of recent calls. We could define a 'max' number of returned values.
- Get a list of recent calls filtering the results based on 'date' or/and 'identities' (array) [Nice to have, but not blocker]

We will have one entry in the call log per 'call' action (incoming, outgoing, missed...).
Each entry should define an unique ID, date, identity, contactID (if available), duration & type at least.
This should expose, as well, a 'clear' method in order to remove the whole list of entries in the call log.

In the future, when Datastore will be available in privileged apps, we will move this info to a Datastore (https://bugzilla.mozilla.org/show_bug.cgi?id=995147).
Blocks: 1023764
Go for it.
Assignee: nobody → josea.olivera
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.