Closed
Bug 796300
Opened 14 years ago
Closed 14 years ago
[b2g-bluetooth] Set audio device BLUETOOTH_SCO_HEADSET to unavailable when disconnect Sco socket
Categories
(Core :: DOM: Device Interfaces, defect)
Tracking
()
People
(Reporter: gyeh, Assigned: gyeh)
Details
(Whiteboard: [LOE:S])
Attachments
(1 file, 1 obsolete file)
|
5.74 KB,
patch
|
Details | Diff | Splinter Review |
No description provided.
| Assignee | ||
Updated•14 years ago
|
blocking-basecamp: + → ?
| Assignee | ||
Comment 1•14 years ago
|
||
set device connection state to available when open a SCO socket; set state to unavailable when close the SCO socket.
Attachment #666853 -
Flags: review?(kyle)
Comment 2•14 years ago
|
||
Comment on attachment 666853 [details] [diff] [review]
v1 patch
Review of attachment 666853 [details] [diff] [review]:
-----------------------------------------------------------------
r=me with fixes
::: dom/bluetooth/BluetoothHfpManager.cpp
@@ +83,5 @@
> CloseScoSocket()
> {
> MOZ_ASSERT(NS_IsMainThread());
>
> + nsCOMPtr<nsIAudioManager> am = do_GetService("@mozilla.org/telephony/audiomanager;1");
We should check validity of the service.
Attachment #666853 -
Flags: review?(kyle) → review+
| Assignee | ||
Comment 3•14 years ago
|
||
Attachment #666853 -
Attachment is obsolete: true
Comment 4•14 years ago
|
||
Comment 5•14 years ago
|
||
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla18
Updated•14 years ago
|
blocking-basecamp: ? → +
You need to log in
before you can comment on or make changes to this bug.
Description
•