Closed Bug 1065336 Opened 11 years ago Closed 10 years ago

[Bluetooth] Add support for Bluedroid daemon to Gecko

Categories

(Firefox OS Graveyard :: Bluetooth, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(feature-b2g:2.2+, firefox36 wontfix, firefox37 wontfix, firefox38 fixed, b2g-v2.2 fixed, b2g-master fixed)

RESOLVED FIXED
2.2 S4 (23jan)
feature-b2g 2.2+
Tracking Status
firefox36 --- wontfix
firefox37 --- wontfix
firefox38 --- fixed
b2g-v2.2 --- fixed
b2g-master --- fixed

People

(Reporter: tzimmermann, Assigned: tzimmermann)

References

Details

Attachments

(1 file)

We need to implement |BluetoothInterface| for the Bluedroid daemon.
Depends on: 1095487
Depends on: 1095488
feature-b2g: --- → 2.2+
Target Milestone: --- → 2.2 S3 (9jan)
Target Milestone: 2.2 S3 (9jan) → 2.2 S4 (23jan)
AFAIK, all gecko daemon related patches changes landed. Close it.
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
(In reply to Shawn Huang [:shawnjohnjr] from comment #1) > AFAIK, all gecko daemon related patches changes landed. Close it. Not yet. :( There's still a clean up patch required for the initialization and the daemon backend must be switched on.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
(In reply to Thomas Zimmermann [:tzimmermann] [:tdz] from comment #2) > (In reply to Shawn Huang [:shawnjohnjr] from comment #1) > > AFAIK, all gecko daemon related patches changes landed. Close it. > > Not yet. :( There's still a clean up patch required for the initialization > and the daemon backend must be switched on. Opps! I thought you're going to track them in an another bug. Thanks for correction.
Depends on: 1119746
That's the final patch for the first complete version of bluetoothd. Once it lands, Gecko will refer to the daemon for Bluetooth functionality.
Attachment #8550229 - Flags: review?(shuang)
Comment on attachment 8550229 [details] [diff] [review] [01] Bug 1065336: Implement Bluetooth backend selection; use daemon by default Review of attachment 8550229 [details] [diff] [review]: ----------------------------------------------------------------- It looks good to me.
Attachment #8550229 - Flags: review?(shuang) → review+
Status: REOPENED → RESOLVED
Closed: 10 years ago10 years ago
Resolution: --- → FIXED
Comment on attachment 8550229 [details] [diff] [review] [01] Bug 1065336: Implement Bluetooth backend selection; use daemon by default Review of attachment 8550229 [details] [diff] [review]: ----------------------------------------------------------------- ::: dom/bluetooth/BluetoothInterface.cpp @@ +103,5 @@ > +#else > +#ifdef MOZ_B2G_BT_BLUEDROID > + static const char sDefaultBackend[] = "bluedroid"; > +#else > + static const char const * sDefaultBackend = nullptr; ../../../gecko/dom/bluetooth/BluetoothInterface.cpp:107:3: error: duplicate 'const' Duplicate 'const' cause build break if system/bluetoothd and external/bluetooth/bluedroid does not exist. Please update the patch for v2.2. and fix for m-c, thank you.
(In reply to Shawn Huang [:shawnjohnjr] from comment #8) > Comment on attachment 8550229 [details] [diff] [review] > [01] Bug 1065336: Implement Bluetooth backend selection; use daemon by > default > > Review of attachment 8550229 [details] [diff] [review]: > ----------------------------------------------------------------- > > ::: dom/bluetooth/BluetoothInterface.cpp > @@ +103,5 @@ > > +#else > > +#ifdef MOZ_B2G_BT_BLUEDROID > > + static const char sDefaultBackend[] = "bluedroid"; > > +#else > > + static const char const * sDefaultBackend = nullptr; > > ../../../gecko/dom/bluetooth/BluetoothInterface.cpp:107:3: error: duplicate > 'const' > Duplicate 'const' cause build break if system/bluetoothd and > external/bluetooth/bluedroid does not exist. Please update the patch for > v2.2. and fix for m-c, thank you. Let me clarify again to avoid misunderstanding, this build break won't happen under the current build configuration because bluedroid is the default choice for JB/KK. But considering some people are missing these two folders (they probably did not sync codebase for a while), we shall fix this potential build break. Sorry I missed this error during code review.
Depends on: 1124565
Shawn, please see bug 1124565.
Flags: needinfo?(tzimmermann)
Comment on attachment 8550229 [details] [diff] [review] [01] Bug 1065336: Implement Bluetooth backend selection; use daemon by default Oh, I forgot to set the flag. [Approval Request Comment] Bug caused by (feature/regressing bug #): Bug 1005934 User impact if declined: We won't be able to use the Bluetooth daemon on v2.2. Testing completed: We manually tested Bluetooth on our local machines. Risk to taking this patch (and alternatives if risky): The change of this single patch is small. The overall feature is v2.2+ already. String or UUID changes made by this patch: None.
Attachment #8550229 - Flags: approval-mozilla-b2g37?
No longer depends on: 1124565
Blocks: 1124565
Attachment #8550229 - Flags: approval-mozilla-b2g37? → approval-mozilla-b2g37+
Blocks: 1126720
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: