[b2g-bluetooth] Firing onadapteradded event when bluetooth is ready to get default adapter

RESOLVED FIXED in Firefox 18

Status

()

Core
DOM: Device Interfaces
RESOLVED FIXED
5 years ago
5 years ago

People

(Reporter: evelyn, Assigned: gyeh)

Tracking

unspecified
mozilla19
x86_64
Linux
Points:
---
Bug Flags:
in-testsuite -

Firefox Tracking Flags

(blocking-basecamp:+, firefox18 fixed, firefox19 fixed)

Details

Attachments

(1 attachment, 1 obsolete attachment)

(Reporter)

Description

5 years ago
gaia needs to be notified that bluetooth is really enabled instead of pulling its status.
(Reporter)

Comment 1

5 years ago
is anyone working on it?
(Assignee)

Updated

5 years ago
Assignee: nobody → gyeh
Summary: [b2g-bluetooth] Firing bluetooth enabled event → [b2g-bluetooth] Firing onadapteradded event when bluetooth is ready to get default adapter
(Assignee)

Comment 2

5 years ago
Created attachment 669054 [details] [diff] [review]
v1 patch

Register BluetoothManager in the following two cases:
1. Constructor of BluetoothManager
2. If table 'mBluetoothSignalObserverTable' is cleared when we disable bluetooth, re-add mLiveManagers back to table, and also re-add LOCAL_AGENT_PATH & REMOTE_AGENT_PATH in parent process.
Attachment #669054 - Flags: review?(kyle)
Attachment #669054 - Flags: review?(kyle) → review+
(Assignee)

Comment 3

5 years ago
Created attachment 669366 [details] [diff] [review]
Final version, r=qdot

try server: https://tbpl.mozilla.org/?tree=Try&rev=a5015ad19840
Attachment #669054 - Attachment is obsolete: true
https://hg.mozilla.org/integration/mozilla-inbound/rev/a4bc583f29ec
https://hg.mozilla.org/mozilla-central/rev/a4bc583f29ec
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla19
(Assignee)

Updated

5 years ago
blocking-basecamp: --- → ?
blocking-basecamp: ? → +
https://hg.mozilla.org/releases/mozilla-aurora/rev/43dd673647ae
status-firefox18: --- → fixed
status-firefox19: --- → fixed
Flags: in-testsuite-
You need to log in before you can comment on or make changes to this bug.