3 ms·
Not for phones. On iPhone, the assumption is that removing headphones while playing music is a mistake (e.g. jostling the cable from jogging) and if you're goin
by cbhl 13y ago
Not for phones. On iPhone, the assumption is that removing headphones while playing music is a mistake (e.g. jostling the cable from jogging) and if you're going to take it out of your pocket to plug the headphones back in you can restart the music too. On Android, I think headphone removal triggers a global intent that your music app can listen for. Whether it does something when that intent fires is another story.
- pearjuice 13y agoThe stock music player pauses when that intent fires.
- __--__ 13y agoSpotify also does, most of the time. It does occasionally fail, which is really embarrassing when I'm listening to Carly Rae Jepson on the train and I drop my phone.
- cbhl 13y agoRight, but what I was alluding to was that if someone wants a different behaviour on Android that all they had to do is write their own music player (or fork the stock one, or similar).