Fix FS#11676 - audio_status() returns AUDIO_STATUS_PLAY|AUDIO_STATUS_PAUSE if paused so only resume if AUDIO_STATUS_PLAY is the only bit.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28301 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
5e2b5bbcfc
commit
bd573c47aa
1 changed files with 1 additions and 1 deletions
|
@ -621,7 +621,7 @@ long default_event_handler_ex(long event, void (*callback)(void *), void *parame
|
|||
#if CONFIG_PLATFORM & PLATFORM_ANDROID
|
||||
/* stop playback if we receive a call */
|
||||
case SYS_CALL_INCOMING:
|
||||
resume = (audio_status() & AUDIO_STATUS_PLAY) != 0;
|
||||
resume = audio_status() == AUDIO_STATUS_PLAY;
|
||||
list_stop_handler();
|
||||
return SYS_CALL_INCOMING;
|
||||
/* resume playback if needed */
|
||||
|
|
Loading…
Reference in a new issue