Closed
Bug 797786
Opened 11 years ago
Closed 11 years ago
[b2g-bluetooth] Send a system message to notify 'progress updated'
Categories
(Core :: DOM: Device Interfaces, defect)
Tracking
()
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 | ||
Updated•11 years ago
|
Assignee | ||
Comment 1•11 years ago
|
||
* 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)
Updated•11 years ago
|
blocking-basecamp: ? → +
Comment 2•11 years ago
|
||
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+
Assignee | ||
Comment 4•11 years ago
|
||
try: https://tbpl.mozilla.org/?tree=Try&rev=500afb252122 https://tbpl.mozilla.org/?tree=Try&rev=086f7bd16b09
Assignee | ||
Comment 5•11 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/911be4e79787
Comment 6•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/911be4e79787
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla18
You need to log in
before you can comment on or make changes to this bug.
Description
•