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)
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•12 years ago
|
Assignee | ||
Comment 1•12 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•12 years ago
|
blocking-basecamp: ? → +
Comment 2•12 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•12 years ago
|
||
Assignee | ||
Comment 5•12 years ago
|
||
Comment 6•12 years ago
|
||
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.
Description
•