Closed Bug 812404 Opened 12 years ago Closed 12 years ago

[b2g-bluetooth] Crash when connect with a bluetooth headset right after pairing completed

Categories

(Core :: DOM: Device Interfaces, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla19
blocking-basecamp +
Tracking Status
firefox18 --- fixed
firefox19 --- fixed

People

(Reporter: gyeh, Assigned: gyeh)

References

Details

Attachments

(1 file, 2 obsolete files)

Repro: - Enable bluetooth - Pair with a bluetooth headset - Connect with it immediately Expected: - Connect success Actual: - Crashed In the implementation of settings app, after pairing with a bluetooth headset, we'll automatically connect with it after 5 seconds. However, user might try to connect with the headset at this time, resulting in b2g crashed, so we need to handle this situation.
Attachment #682305 - Flags: review?(echou)
Comment on attachment 682305 [details] [diff] [review] Patch 1(v1): Return when connection status is connecting Review of attachment 682305 [details] [diff] [review]: ----------------------------------------------------------------- r+ with nits addressed. ::: dom/bluetooth/ipc/BluetoothServiceChildProcess.cpp @@ +301,2 @@ > SendRequest(aRunnable, > ConnectRequest(nsString(aDeviceAddress), nit: an additional blank ::: dom/bluetooth/linux/BluetoothDBusService.cpp @@ +2314,1 @@ > NS_WARNING("Unknow Profile"); nit: a typo here, please help to fix. :)
Attachment #682305 - Flags: review?(echou) → review+
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla19
blocking-basecamp: ? → +
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: