Closed
Bug 793950
Opened 12 years ago
Closed 12 years ago
[b2g-bluetooth] Handle volume change in BluetoothHfpManager
Categories
(Core :: DOM: Device Interfaces, defect)
Tracking
()
People
(Reporter: gyeh, Assigned: gyeh)
References
Details
(Whiteboard: [LOE:S])
Attachments
(1 file, 1 obsolete file)
5.43 KB,
patch
|
Details | Diff | Splinter Review |
No description provided.
Assignee | ||
Comment 1•12 years ago
|
||
Attachment #664346 -
Flags: review?(kyle)
Comment 2•12 years ago
|
||
Comment on attachment 664346 [details] [diff] [review] v1 patch Review of attachment 664346 [details] [diff] [review]: ----------------------------------------------------------------- Looks ok outside of comments. ::: dom/bluetooth/BluetoothHfpManager.cpp @@ +14,5 @@ > > #include "mozilla/Services.h" > +#include "mozilla/dom/bluetooth/BluetoothTypes.h" > +#include "nsContentUtils.h" > +#include "nsIDOMDOMRequest.h" Don't think this needs to be here? @@ +41,5 @@ > + > + if (NS_FAILED(obs->AddObserver(sInstance, MOZSETTINGS_CHANGED_ID, false))) { > + NS_WARNING("Failed to add settings change observer!"); > + return false; > + } Shouldn't this be part of creation? We don't need to readd the observer every time we fetch, do we?
Attachment #664346 -
Flags: review?(kyle) → review+
Assignee | ||
Comment 3•12 years ago
|
||
Fixed the following items: * Add observer in creation * No include "nsIDOMDOMRequest.h"
Attachment #664346 -
Attachment is obsolete: true
Comment 4•12 years ago
|
||
try: https://tbpl.mozilla.org/?tree=Try&rev=1756513d8057
Comment 6•12 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/f80cc2f44c27
Status: NEW → RESOLVED
Closed: 12 years ago
Flags: in-testsuite?
Resolution: --- → FIXED
Target Milestone: --- → mozilla18
You need to log in
before you can comment on or make changes to this bug.
Description
•