- /* If the screen is on and the app is in the
- foreground we don't show anything */
- if (!(screen_on && app_in_foreground)) {
- /* Play a sound */
- if (play_sound)
- hildon_play_system_sound (MODEST_NEW_MAIL_SOUND_FILE);
-
- /* Activate LED. This must be deactivated by
- modest_platform_remove_new_mail_notifications */
+ /* If the screen is on and the app is in the
+ foreground we don't show anything */
+ if (!(screen_on && app_in_foreground)) {
+ /* Play a sound */
+ if (play_sound)
+ hildon_play_system_sound (MODEST_NEW_MAIL_SOUND_FILE);
+
+ /* Activate LED. This must be deactivated by
+ modest_platform_remove_new_mail_notifications */