diff options
Diffstat (limited to 'apps/misc.c')
| -rw-r--r-- | apps/misc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/misc.c b/apps/misc.c index 94b2de4..a08dac3 100644 --- a/apps/misc.c +++ b/apps/misc.c @@ -526,7 +526,7 @@ static void unplug_change(bool inserted) long default_event_handler_ex(long event, void (*callback)(void *), void *parameter) { -#if CONFIG_PLATFORM & PLATFORM_ANDROID +#if CONFIG_PLATFORM & (PLATFORM_ANDROID|PLATFORM_MAEMO) static bool resume = false; #endif @@ -619,7 +619,7 @@ long default_event_handler_ex(long event, void (*callback)(void *), void *parame iap_handlepkt(); return SYS_IAP_HANDLEPKT; #endif -#if CONFIG_PLATFORM & PLATFORM_ANDROID +#if CONFIG_PLATFORM & (PLATFORM_ANDROID|PLATFORM_MAEMO) /* stop playback if we receive a call */ case SYS_CALL_INCOMING: resume = audio_status() == AUDIO_STATUS_PLAY; |