Merge changes I32ab8848,If470bc9a

* changes:
  Notify if a sensor is used but privacy is enabled
  Add flags to onOpNoted/Started callbacks