Merge "hal: return with error code to avoid tearing down existing recording" into av-userspace.lnx.2.0-dev