Closed
Bug 809538
Opened 13 years ago
Closed 13 years ago
[b2g-bluetooth] Should reject file transferring request when there's no sdcard
Categories
(Core :: DOM: Device Interfaces, defect)
Tracking
()
People
(Reporter: echou, Assigned: echou)
References
Details
(Whiteboard: [LOE:S])
Attachments
(1 file, 1 obsolete file)
Now we won't reject the file transferring request sent from remote device even if we don't have an sdcard on our device.
![]() |
Assignee | |
Updated•13 years ago
|
![]() |
Assignee | |
Comment 1•13 years ago
|
||
* Reject file transferring request if we don't have an sdcard.
* Refactory for receiving file part. The main idea is that we begin parsing header only when a complete packet has been received.
Attachment #679288 -
Flags: review?(kyle)
Comment 2•13 years ago
|
||
Comment on attachment 679288 [details] [diff] [review]
patch 1: v1: handle no sdcard situation and refactory to make receiving file part more clear
Review of attachment 679288 [details] [diff] [review]:
-----------------------------------------------------------------
r=me with issues addressed.
::: dom/bluetooth/ObexBase.h
@@ +207,5 @@
> + }
> + }
> + }
> +
> + void GetBody(nsAutoPtr<uint8_t>& aRetBody)
Just pass a bare uint8_t pointer. We don't so much care about the type. Let the user deal with that.
Updated•13 years ago
|
Attachment #679288 -
Flags: review?(kyle) → review+
![]() |
Assignee | |
Comment 4•13 years ago
|
||
![]() |
Assignee | |
Comment 5•13 years ago
|
||
![]() |
||
Comment 6•13 years ago
|
||
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla19
![]() |
||
Updated•13 years ago
|
blocking-basecamp: ? → +
Comment 7•13 years ago
|
||
status-firefox18:
--- → fixed
status-firefox19:
--- → fixed
You need to log in
before you can comment on or make changes to this bug.
Description
•