summaryrefslogtreecommitdiff
path: root/apps/misc.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/misc.c')
-rw-r--r--apps/misc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/misc.c b/apps/misc.c
index 94b2de4a3f..a08dac3ebf 100644
--- a/apps/misc.c
+++ b/apps/misc.c
@@ -526,7 +526,7 @@ static void unplug_change(bool inserted)
526 526
527long default_event_handler_ex(long event, void (*callback)(void *), void *parameter) 527long default_event_handler_ex(long event, void (*callback)(void *), void *parameter)
528{ 528{
529#if CONFIG_PLATFORM & PLATFORM_ANDROID 529#if CONFIG_PLATFORM & (PLATFORM_ANDROID|PLATFORM_MAEMO)
530 static bool resume = false; 530 static bool resume = false;
531#endif 531#endif
532 532
@@ -619,7 +619,7 @@ long default_event_handler_ex(long event, void (*callback)(void *), void *parame
619 iap_handlepkt(); 619 iap_handlepkt();
620 return SYS_IAP_HANDLEPKT; 620 return SYS_IAP_HANDLEPKT;
621#endif 621#endif
622#if CONFIG_PLATFORM & PLATFORM_ANDROID 622#if CONFIG_PLATFORM & (PLATFORM_ANDROID|PLATFORM_MAEMO)
623 /* stop playback if we receive a call */ 623 /* stop playback if we receive a call */
624 case SYS_CALL_INCOMING: 624 case SYS_CALL_INCOMING:
625 resume = audio_status() == AUDIO_STATUS_PLAY; 625 resume = audio_status() == AUDIO_STATUS_PLAY;