roqerxz / media-button-router

Automatically exported from code.google.com/p/media-button-router
Apache License 2.0
0 stars 0 forks source link

Support KeyEvent.KEYCODE_HEADSETHOOK for Play/Pause #21

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Some wired remotes send KeyEvent.KEYCODE_HEADSETHOOK instead of the the play or 
pause keycodes. Add a feature to support treating this keycode as play/pause. 

Original issue reported on code.google.com by harleens...@gmail.com on 4 Mar 2012 at 6:51

GoogleCodeExporter commented 9 years ago
Fixing this is a trivial patch - handle KeyEvent.KEYCODE_HEADSETHOOK the same 
as play-pause in ReceiverSelector.java and add it to Utils.isMediaButton(). I 
can push a patch, but it is not clear whether anyone is updating the Play store 
release anymore?

Original comment by ja...@sensiblenonsense.com on 24 Jan 2014 at 2:13

GoogleCodeExporter commented 9 years ago
Branch it?

Original comment by david.ar...@gmail.com on 24 Jan 2014 at 8:38

GoogleCodeExporter commented 9 years ago
If you can send the patch, I'll be happy to release it to the play store. 

Original comment by harleens...@gmail.com on 24 Jan 2014 at 1:00

GoogleCodeExporter commented 9 years ago
Received patch, thanks. Will try to release today.

Original comment by harleens...@gmail.com on 26 Jan 2014 at 7:35

GoogleCodeExporter commented 9 years ago
Released.

Original comment by harleens...@gmail.com on 27 Jan 2014 at 1:49