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)
Tracking
(feature-b2g:2.2+, firefox36 wontfix, firefox37 wontfix, firefox38 fixed, b2g-v2.2 fixed, b2g-master fixed)
People
(Reporter: tzimmermann, Assigned: tzimmermann)
References
Details
Attachments
(1 file)
3.25 KB,
patch
|
shawnjohnjr
:
review+
bajaj
:
approval-mozilla-b2g37+
|
Details | Diff | Splinter Review |
We need to implement |BluetoothInterface| for the Bluedroid daemon.
Assignee | ||
Updated•11 years ago
|
Updated•11 years ago
|
feature-b2g: --- → 2.2+
Updated•10 years ago
|
Target Milestone: --- → 2.2 S3 (9jan)
Updated•10 years ago
|
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
Assignee | ||
Comment 2•10 years ago
|
||
(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.
Assignee | ||
Comment 4•10 years ago
|
||
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+
Assignee | ||
Comment 6•10 years ago
|
||
Landing this patch. Thanks, Shawn!
https://hg.mozilla.org/integration/b2g-inbound/rev/9abbd96020cd
https://treeherder.mozilla.org/ui/#/jobs?repo=b2g-inbound&revision=9abbd96020cd
Comment 7•10 years ago
|
||
Status: REOPENED → RESOLVED
Closed: 10 years ago → 10 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.
Flags: needinfo?(tzimmermann)
(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.
Assignee | ||
Comment 11•10 years ago
|
||
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?
Updated•10 years ago
|
Attachment #8550229 -
Flags: approval-mozilla-b2g37? → approval-mozilla-b2g37+
Comment 12•10 years ago
|
||
status-b2g-v2.2:
--- → fixed
status-b2g-master:
--- → fixed
status-firefox36:
--- → wontfix
status-firefox37:
--- → wontfix
status-firefox38:
--- → fixed
You need to log in
before you can comment on or make changes to this bug.
Description
•