fixed for notifications through headphones

this should fix notifications in headphones while music is playing, I tested this in a test rom but it was older code, let me know if this works in your new build. thanks