On Android, don't post notification twice if in the foreground