Closed
Bug 743933
Opened 13 years ago
Closed 13 years ago
[b2g-bluetooth] Update B2G Bluetooth API to ICS code
Categories
(Core :: DOM: Device Interfaces, defect)
Tracking
()
RESOLVED
FIXED
mozilla18
People
(Reporter: qdot, Assigned: qdot)
References
Details
Attachments
(1 file, 1 obsolete file)
4.21 KB,
patch
|
echou
:
review+
|
Details | Diff | Splinter Review |
The bluetooth DBus calls are currently based on gingerbread's bluetooth API. Once we're completely off gingerbread, we should update our code to work with the newer DBus/bluez calls.
Assignee | ||
Updated•13 years ago
|
Assignee: nobody → kyle
Assignee | ||
Comment 1•13 years ago
|
||
Current list:
- Add WAKEUP flags for dbus wakeup signals
- Change dbus_watch_get_fd to dbus_watch_get_unix_fd
Assignee | ||
Comment 2•13 years ago
|
||
Nice to have to get rid of some deprecation warnings, but not a blocker for shipping, especially since we've bounced back and forth between gb and ics so much.
No longer blocks: b2g-bluetooth
Assignee | ||
Updated•13 years ago
|
Blocks: b2g-bluetooth
Assignee | ||
Comment 3•13 years ago
|
||
No feature updates in this, mostly warning fixes and the ability to attach to wakeup (which might have some nice uses in V2)
Attachment #661873 -
Flags: review?(echou)
Assignee | ||
Comment 4•13 years ago
|
||
Doing a bit of debug message cleanup while we're at it.
Attachment #661873 -
Attachment is obsolete: true
Attachment #661873 -
Flags: review?(echou)
Attachment #661890 -
Flags: review?(echou)
Assignee | ||
Updated•13 years ago
|
Summary: Update B2G Bluetooth API to ICS code → [b2g-bluetooth] Update B2G Bluetooth API to ICS code
Comment 5•13 years ago
|
||
Comment on attachment 661890 [details] [diff] [review]
Patch 1 (v2) - Update DBus features to ICS
Review of attachment 661890 [details] [diff] [review]:
-----------------------------------------------------------------
r+ after nits are fixed.
::: ipc/dbus/DBusThread.cpp
@@ +276,5 @@
> aDbt->mWatchData.RemoveElementAt(index);
> }
>
> +static
> +void DBusWakeup(void* aData) {
Nit: brace should be at a separate line.
@@ +279,5 @@
> +static
> +void DBusWakeup(void* aData) {
> + DBusThread *dbt = (DBusThread *)aData;
> + char control = DBUS_EVENT_LOOP_WAKEUP;
> + if(write(dbt->mControlFdW.get(), &control, sizeof(char)) < 0) {
Nit: needs a blank behind "if"
Attachment #661890 -
Flags: review?(echou) → review+
Assignee | ||
Comment 6•13 years ago
|
||
Target Milestone: --- → mozilla18
Comment 7•13 years ago
|
||
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•