Closed Bug 908743 Opened 11 years ago Closed 11 years ago

B2G SMS: let markMessageRead accept a SmsFilter

Categories

(Core :: DOM: Device Interfaces, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: vicamo, Unassigned)

References

Details

See also bug 908657.  |markMessageRead| accepts an message ID now and the only use case we have in Gaia reference implement is to mark all thread messages read.  Currently we have to call |getMessages| to collect all message IDs and invoke one |markMessageRead| call per message id.  This certainly bring some inconveniences and performance drop because we just don't need all the full messages passed from chrome to content.  Let |markMessageRead| accept a SmsFilter improves this a lot.
Blocks: 908657
OS: Linux → Gonk (Firefox OS)
Hardware: x86_64 → ARM
Please also see bug 908657, comment #7. I'm wondering if we should make a markThreadRead(threadID) instead of inputting a big filter to do that.
Yes, that sounds like a better plan.
Blocks: b2g-sms
No longer blocks: 908657
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.