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)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla19
blocking-basecamp +
Tracking Status
firefox18 --- fixed
firefox19 --- fixed

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: nobody → echou
Blocks: 792683
blocking-basecamp: --- → ?
Whiteboard: [LOE:S]
* 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 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.
Attachment #679288 - Flags: review?(kyle) → review+
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla19
blocking-basecamp: ? → +
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: