Closed Bug 800313 Opened 7 years ago Closed 7 years ago

[b2g-bluetooth] Refine system messages interface for bluetooth file-sharing app

Categories

(Core :: DOM: Device Interfaces, defect)

ARM
Gonk (Firefox OS)
defect
Not set

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)

After talking to Ian Liu, who is in charge of Bluetooth file-sharing app, we decided to:

* Fire a new system message "bluetooth-opp-transfer-start" to system app. Not only let system app be able to get more detail about the file, but also an indication for system app making UI change.
* Add "device address" to parameters of existing system messages. The reason why doing this is because OPP will be capable of transferring with more than one device at the same time, so we need device address as an identification for system app distinguishing which session is completed when it gets the message.
Assignee: nobody → echou
Blocks: 792683
blocking-basecamp: --- → ?
Whiteboard: [LOE:S]
Attached patch patch 1: v1Splinter Review
The variable mConnectedDeviceAddress should be valid after bug 800249 lands. Please check comments I left in ctor of BluetoothOppManager for more information.
Attachment #670329 - Flags: review?(kyle)
In addition, I changed the naming of parameters in system message, from 'filename' to 'fileName', according to Ian's suggestion.
Attachment #670329 - Flags: review?(kyle) → review+
blocking-basecamp: ? → +
https://hg.mozilla.org/mozilla-central/rev/408fd6da4d1a
Status: NEW → RESOLVED
Closed: 7 years ago
Flags: in-testsuite-
Resolution: --- → FIXED
Target Milestone: --- → mozilla19
You need to log in before you can comment on or make changes to this bug.