Closed
Bug 743933
Opened 12 years ago
Closed 12 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•12 years ago
|
Assignee: nobody → kyle
Assignee | ||
Comment 1•12 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•12 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•12 years ago
|
Blocks: b2g-bluetooth
Assignee | ||
Comment 3•12 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•12 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•12 years ago
|
Summary: Update B2G Bluetooth API to ICS code → [b2g-bluetooth] Update B2G Bluetooth API to ICS code
Comment 5•12 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•12 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/176b61afc41d
Target Milestone: --- → mozilla18
Comment 7•12 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/176b61afc41d
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•