Temporary workaround for the Play / Pause problem.
In lots of cases as soon as the car kit connects, we start
playing music. This is a bad user experience. We need to separate
key codes for play and pause in the media land - there is an open
bug for this. This will solve the problem but some one button
headsets send pause key when the user wants to start the music
(Sony DRB50), some send play key (Motorola S9, S7, LG, Sony HBH-DS980)
In the former case the user will have to press the key twice, the
latter will work fine. We could always have this code to check for
the class of the device (car vs headset) but thats fragile and
nothing prevents a headset from sending a pause on connection.
We would need to implement AVRCP 1.3 and the headset would
also have to support this to get it right.
This, I believe is a much better user experience and then our
current scenario where the music starts playing on connection.
3 files changed