Merge "hal: Check A2dp state before bt ipc library calls"