Allow events to specify that they should notify the agent.

For I617eedce

Change-Id: I763db2f089e250c9f5486ed787ac71344e84abb7
Merge "Allow events to specify that they should notify the agent."