Closed Bug 802941 Opened 13 years ago Closed 13 years ago

[Settings][Bluetooth] when bluetooth is enabled on booting time, bluetooth found device list shows nothing.

Categories

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

x86_64
Linux
defect

Tracking

(blocking-basecamp:+)

VERIFIED FIXED
blocking-basecamp +

People

(Reporter: jj.evelyn, Assigned: jj.evelyn)

Details

Attachments

(1 file)

it's because when the 'adapteradded' event is firing, the settings app have't been launched. But we could deal with this case by simply checking bluetooth.enabled is true and then get DefaultAdapter without waiting the event.
Attachment #676066 - Flags: review?(iliu)
blocking-basecamp: --- → ?
Comment on attachment 676066 [details] fix bug 802941, workaround for bug 797713 and bug 801557 It's work for me. But we should be careful to use set timeout for wait BT ready. I suggest that Bluetooth API should provide a asyn-callback when it really got paired device info. in the future.
Attachment #676066 - Flags: review?(iliu) → review+
Thanks for Evelyn's effort. We can close the issue.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
blocking-basecamp: ? → +
Priority: -- → P3
Verified fixed on Unagi build 20130103070201. Bluetooth found device list shows the proper found devices upon booting up Unagi with Bluetooth previously enabled.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: