Comment 5 for bug 1398427

Revision history for this message
Ricardo Salveti (rsalveti) wrote : Re: Can't use earphone to answer or disconnect a call

<Saviq> I'd like us to list all the usecases we can think of before we decide on how to approach this (and possibly confirm a few cases with UX design)

This is because we first want to better understand the use cases in order to decide which component should handle such logic.

Basically we need to be able to react to input events coming from the wired headset, on the following scenarios:
1 - Media playback: play and pause
2 - Calls: accept when ringing (or waiting), hang up when the call is active
3 - Avoid music playback play/pause then the event should be driving the telephony stack (media-hub already got the logic to pause when there is an active/incoming call)

For media playback we can deliver such events to media-hub, probably using the indicator (when we enable the mpris interface again). Now for telephony, I don't know who should be the bridge.