Yeah, this is entirely up to the application afaik. You can write a program that still continues playing music in the background while the user receives a phonecall. (I know this because this is currently a bug in one music player I have written, haven't bothered to fix it though.) There's nothing that *android* specifically does about it, I'm afraid.