开发者

OnAudioFocusChangeListener does not get executed when native player is paused

I have this strange issu开发者_如何学编程e when if I play song with custom app player, it works fine when I receive calls OnAudioFocusChangeListener gets called which in turn deos all the appropriate things to lower the players volume. However when have started a native android player and paused it and than started our app player it see not to do the same but just send a call notification only, no audio focus event. What could possibly cause it?

Here are the steps:

  • Start android native player
  • pause it
  • start our app player
  • call this handset
  • music does not pause within our player because we don't receive OnAudioFocusChangeListener but only CallStateListener gets called.

Is it possible that OS does not send lower volume notification b/c Native OS player is paused?

Thank you

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜