Closed Bug 809704 Opened 12 years ago Closed 12 years ago

[Dialer] can using headset button to answer/hangup the phone call

Categories

(Firefox OS Graveyard :: Gaia::Dialer, defect, P1)

ARM
Gonk (Firefox OS)

Tracking

(blocking-basecamp:+)

VERIFIED FIXED
B2G C2 (20nov-10dec)
blocking-basecamp +

People

(Reporter: rlin, Assigned: arcturus)

References

Details

Attachments

(1 file)

This depend on this 
BUG:805744 [Hardware button] Add Support for call answer/hang up on Wired Headset Button, 
Require dialer app to receive the system message and handle the headset button event.
blocking-basecamp: --- → ?
Chris - Is using the button on a wired headset for call answer/hang up a requirement for v1?
Flags: needinfo?(clee)
Component: General → Gaia::Dialer
Assignee: nobody → gtorodelvalle
:etienne , due to your experience with this, would you prefer to take care of it? No problem on my side on any direction :-)
Blocking becouse plateform part has blocked
Assignee: gtorodelvalle → etienne
blocking-basecamp: ? → +
Flags: needinfo?(clee)
Priority: -- → P1
Target Milestone: --- → B2G C2 (20nov-10dec)
Assignee: etienne → francisco.jordano
Depends on: 805744
Reopening the platform part work done in Bug 805744.

I'm trying with the test patch and cannot receive any event, also, I've seen the following events being triggered:

- When plugging the headset we receive: headset-button-press

- When unplugging the headset we receive: headset-button-release

When pressing the proper buttons we don't receive any event.

:(
Dear Franciso, 
Which kind of headset do you use?
You need to use the headset attach in the unagi device box.
I just try and dialer app can receive the headset-button-press /release event.
This function won't work well when you plug-in wrong type of headset w/ mic (designed by apple/sumsung/htc) into unagi device.
Hi Randy,

You are right, so far I've been playing with headset from apple and a 3rd vendor, this morning will try with the headset provided by the unagi device, and will update the bug if necessary.

Thanks!
Attachment #685553 - Flags: review?(etienne)
Comment on attachment 685553 [details]
Pointer to GitHub PR 6644

Last tiny comment on github, but other than that good to go!
Attachment #685553 - Flags: review?(etienne) → review+
Latest commend added and landed:

https://github.com/mozilla-b2g/gaia/commit/05b87d7d6a1855a25d622212f270e70bd18a4f84
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
verified on unagi build id:  20130103070201
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: