I think both calls are appropriate because it depends on what the app wants/needs to do with the notification. If the foreground is set appropriately, the app can decide what/if it needs to do anything.
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
I think both calls are appropriate because it depends on what the app wants/needs to do with the notification. If the foreground is set appropriately, the app can decide what/if it needs to do anything.