Protect notification callback parameters with a mutex.

This avoids the race condition where notifications are dispatched to a NULL receiver
after notifications have been disabled.

Change-Id: I6d351ffbee97616e2c35559c132a6c5e6a66948a
related-to-bug: 3394139
1 file changed
tree: 8fb13813062b563324f9b47f4f9741897fde7f98
  1. camera/
  2. cmds/
  3. drm/
  4. include/
  5. media/
  6. services/