Closed
Bug 725599
Opened 11 years ago
Closed 11 years ago
B2G telephony: speakerEnabled does not work
Categories
(Core :: DOM: Device Interfaces, defect)
Tracking
()
RESOLVED
FIXED
mozilla13
People
(Reporter: oteo, Assigned: jaoo)
References
Details
Attachments
(1 file)
1.16 KB,
patch
|
philikon
:
review+
|
Details | Diff | Splinter Review |
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_2) AppleWebKit/534.51.22 (KHTML, like Gecko) Version/5.1.1 Safari/534.51.22 Steps to reproduce: Trying to activate/deactivate the speaker in Samsung Galaxy SII Actual results: Setting the attribute navigator.mozTelephony.speakerEnabled either to true or false we get the following errors in the log: E/GeckoConsole( 6203): [JavaScript Error: "uncaught exception: [Exception... "'[JavaScript Error: "gAudioManager.setForceUse is not a function" {file: "jar:file:///system/b2g/omni.ja!/components/RadioInterfaceLayer.js" line: 419}]' when calling method: [nsIRadioInterfaceLayer::speakerEnabled]" nsresult: "0x80570021 (NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS)" location: "JS frame :: http://localhost:6666/Telephony/script/dialer.js :: <TOP_LEVEL> :: line 579" data: yes]"] E/GeckoConsole( 6203): [JavaScript Error: "uncaught exception: [Exception... "'[JavaScript Error: "gAudioManager.setForceUse is not a function" {file: "jar:file:///system/b2g/omni.ja!/components/RadioInterfaceLayer.js" line: 419}]' when calling method: [nsIRadioInterfaceLayer::speakerEnabled]" nsresult: "0x80570021 (NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS)" location: "JS frame :: http://localhost:6666/Telephony/script/dialer.js :: <TOP_LEVEL> :: line 579" data: yes]"] E/GeckoConsole( 6203): [JavaScript Error: "uncaught exception: [Exception... "'[JavaScript Error: "gAudioManager.setForceUse is not a function" {file: "jar:file:///system/b2g/omni.ja!/components/RadioInterfaceLayer.js" line: 419}]' when calling method: [nsIRadioInterfaceLayer::speakerEnabled]" nsresult: "0x80570021 (NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS)" location: "JS frame :: http://localhost:6666/Telephony/script/dialer.js :: <TOP_LEVEL> :: line 579" data: yes]"]
Assignee | ||
Comment 2•11 years ago
|
||
This patch fix an small problem ("gAudioManager.setForceUse is not a function") when enabling speakers on a call.
Assignee: nobody → josea.olivera
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Attachment #595992 -
Flags: review?(philipp)
Comment 3•11 years ago
|
||
Comment on attachment 595992 [details] [diff] [review] v1 Review of attachment 595992 [details] [diff] [review]: ----------------------------------------------------------------- Good catch! r=me
Attachment #595992 -
Flags: review?(philipp) → review+
Comment 4•11 years ago
|
||
(Please file telephony bugs in the Core :: DOM: Device Interfaces section next time, and mark them blocking the b2g-telephony meta bug. Both of those will ensure that the right kind of people are notified via email. Thanks! :))
Blocks: b2g-telephony
Component: General → DOM: Device Interfaces
OS: Mac OS X → Gonk
QA Contact: general → device-interfaces
Hardware: x86 → ARM
Updated•11 years ago
|
Summary: speakerEnabled does not work → B2G telephony: speakerEnabled does not work
Comment 5•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/40da5acfe838
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla13
You need to log in
before you can comment on or make changes to this bug.
Description
•