Closed Bug 1016186 Opened 6 years ago Closed 6 years ago
Do not fire adapteradded event when BT is turned on
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 , 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.  https://wiki.mozilla.org/B2G/Bluetooth/WebBluetooth-v2
Assignee: nobody → btian
Remove unused function BluetoothService::RemoveObserverFromTable in bug 1016243.
Attachment #8429119 - Attachment is obsolete: true
Wrap nsRefPtr<BluetoothAdapter> otherwise applications cannot get BluetoothAdapter.
Attachment #8434754 - Flags: review?(echou)
Attachment #8433969 - Flags: review?(echou) → review+
Attachment #8434754 - Flags: review?(echou) → review+
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → 2.0 S4 (20june)
You need to log in before you can comment on or make changes to this bug.