Closed Bug 725599 Opened 13 years ago Closed 13 years ago

B2G telephony: speakerEnabled does not work

Categories

(Core :: DOM: Device Interfaces, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla13

People

(Reporter: oteo, Assigned: jaoo)

References

Details

Attachments

(1 file)

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]"]
Attached patch v1 (deleted) — Splinter Review
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 on attachment 595992 [details] [diff] [review] v1 Review of attachment 595992 [details] [diff] [review]: ----------------------------------------------------------------- Good catch! r=me
Attachment #595992 - Flags: review?(philipp) → review+
(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! :))
Component: General → DOM: Device Interfaces
OS: Mac OS X → Gonk
QA Contact: general → device-interfaces
Hardware: x86 → ARM
Summary: speakerEnabled does not work → B2G telephony: speakerEnabled does not work
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla13
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: