My Question or Issue
So I stumbled upon an issue that Spotify does not go to start of track or previous track like one would expect, when KeyEvent "KEYCODE_MEDIA_PREVIOUS" is dispatched via AudioManager in Android. Keycodes for next, play and pause all works as expected, just not previous. This would be essential thing to work for me so i could integrate my car's steering wheel controls with my phone as music source, but is it that its intended it does not work?
EDIT: It seems that the issue was silently patched by spotify, or there was something random going on within my device, since now it does seem to work as expected without any code changes from my end.