I have an ipod touch 5grn plugged in my Ipod Hi-FI. So I control it with my Galaxy S5 and works fine. So that when the music is stopped the ipod disconnects and becomes unavailable to android, and only back to work when I unlock the screen.
Any idea?