Closed Bug 797786 Opened 12 years ago Closed 12 years ago

[b2g-bluetooth] Send a system message to notify 'progress updated'

Categories

(Core :: DOM: Device Interfaces, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla18
blocking-basecamp +

People

(Reporter: echou, Assigned: echou)

References

Details

(Whiteboard: [LOE:S])

Attachments

(1 file, 1 obsolete file)

As an indication, we need a system message to notify current file-sharing progress periodically.
Assignee: nobody → echou
Blocks: 792683
blocking-basecamp: --- → ?
Whiteboard: [LOE:S]
* Send system message after processing every 50kb * Use two parameters(proccessed file length, total file length) instead of one (percentage)
Attachment #667878 - Flags: review?(kyle)
blocking-basecamp: ? → +
Comment on attachment 667878 [details] [diff] [review] patch 1: v1: Send system message 'bluetooth-opp-update-progress' Review of attachment 667878 [details] [diff] [review]: ----------------------------------------------------------------- ::: dom/bluetooth/BluetoothOppManager.cpp @@ +250,5 @@ > if (mAbortFlag || mReadFileThread == nullptr) { > SendAbortRequest(); > } else { > + // Sending system message "bluetooth-opp-update-progress" every 50kb, > + if (500000 * sUpdateProgressCounter < sSentFileLength) { Nit: Turn magic number in a static const.
Attachment #667878 - Flags: review?(kyle) → review+
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla18
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: