Closed
Bug 793950
Opened 13 years ago
Closed 13 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•13 years ago
|
||
Attachment #664346 -
Flags: review?(kyle)
Comment 2•13 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•13 years ago
|
||
Fixed the following items:
* Add observer in creation
* No include "nsIDOMDOMRequest.h"
Attachment #664346 -
Attachment is obsolete: true
Comment 4•13 years ago
|
||
Comment 5•13 years ago
|
||
Comment 6•13 years ago
|
||
Status: NEW → RESOLVED
Closed: 13 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
•