Closed Bug 900874 Opened 11 years ago Closed 11 years ago

[System] Register new event handlers of BluetoothAdapter

Categories

(Firefox OS Graveyard :: Gaia::System, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: gyeh, Assigned: arthurcc)

References

Details

Attachments

(1 file, 2 obsolete files)

Several system messages are going to be removed. Instead of binding message handler, new event handlers should be registered.

The following cases should be covered:
* bluetooth-hfp-status-changed -> adapter.onhfpstatuschanged
* bluetooth-sco-status-changed -> adapter.onscostatuschanged

The event consist of two properties:
- event.address
- event.status
No longer depends on: 900870
Blocks: 900880
Assignee: nobody → arthur.chen
Evelyn, could you help review the change? I've done some basic tests and it worked as expected. Thanks!
Attachment #787427 - Flags: review?(ehung)
Comment on attachment 787427 [details]
link to https://github.com/mozilla-b2g/gaia/pull/11423

r=me with a nit addressed. Thanks!
Attachment #787427 - Flags: review?(ehung) → review+
Comment addressed. Thanks for reviewing!

master: https://github.com/mozilla-b2g/gaia/commit/f401f46388588aff4d259b4f2559d1f4cb9aa6f5
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: