hal: return with error code to avoid tearing down existing recording

When an active recording use case started by a new session, the new
session will be rejected and enter standby, but the standby status
changed to false. Due to they share the same use case, the existing
recording can be teared down during standby of the new seesion.
Return with error code when new seesion is rejected and keep it in
standby state, then standby of the new seesion won't affect the
existing one.

Change-Id: Ib3ae6a2534474247ed70589c43cb258d297c4440
CRs-Fixed: 1004601
1 file changed