Closed
Bug 1016186
Opened 11 years ago
Closed 11 years ago
Do not fire adapteradded event when BT is turned on
Categories
(Firefox OS Graveyard :: Bluetooth, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
2.0 S4 (20june)
People
(Reporter: ben.tian, Assigned: ben.tian)
References
Details
(Whiteboard: [webbt-api][p=1])
Attachments
(2 files, 2 obsolete files)
9.04 KB,
patch
|
echou
:
review+
|
Details | Diff | Splinter Review |
1.02 KB,
patch
|
echou
:
review+
|
Details | Diff | Splinter Review |
TODO:
- do not fire adapteradded event when BT is turned on
- do not listen to setting change for BT on/off
In refined WebBluetooth API [1], BluetoothManager.onadapteradded event handler is triggered only when a new adapter is plugged in. Gecko informs applications of BT on/off by BluetoothAdapter.onattributechanged of property BluetoothAdapter.state.
[1] https://wiki.mozilla.org/B2G/Bluetooth/WebBluetooth-v2
Assignee | ||
Updated•11 years ago
|
Whiteboard: [webbt-api]
Assignee | ||
Comment 1•11 years ago
|
||
Assignee: nobody → btian
Assignee | ||
Comment 2•11 years ago
|
||
Remove unused function BluetoothService::RemoveObserverFromTable in bug 1016243.
Attachment #8429119 -
Attachment is obsolete: true
Assignee | ||
Updated•11 years ago
|
Depends on: webbt-api-onoff
Assignee | ||
Comment 3•11 years ago
|
||
Attachment #8429124 -
Attachment is obsolete: true
Assignee | ||
Updated•11 years ago
|
Attachment #8433969 -
Flags: review?(echou)
Assignee | ||
Comment 4•11 years ago
|
||
Wrap nsRefPtr<BluetoothAdapter> otherwise applications cannot get BluetoothAdapter.
Attachment #8434754 -
Flags: review?(echou)
Updated•11 years ago
|
Attachment #8433969 -
Flags: review?(echou) → review+
Updated•11 years ago
|
Attachment #8434754 -
Flags: review?(echou) → review+
Assignee | ||
Comment 5•11 years ago
|
||
Comment 6•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/60298f8c95af
https://hg.mozilla.org/mozilla-central/rev/695234b1c393
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → 2.0 S4 (20june)
Assignee | ||
Updated•11 years ago
|
Whiteboard: [webbt-api] → [webbt-api][p=1]
You need to log in
before you can comment on or make changes to this bug.
Description
•