Ignore ongoing or non-cancelable notifications

This change stops the clear notification appearing if the only current notifications are non-cancelable or ongoing (e.g. audio playback controls).