Merge changes from topic "invert-capture-rvc" into rvc-dev

* changes:
  Register for capture state notifications via JNI
  Remove obsolete permission
  Change external capture state notification mechanism