Test: Change the volume on a headset with absolute volume
Bug:
72987704
Change-Id: Ia1acd28c51707e7b71e47140aaded0298ba4e8aa
tAVRC_STS status = BT_STATUS_UNSUPPORTED;
for (int idx = 0; idx < BTIF_RC_NUM_CONN; idx++) {
- if (!btif_rc_cb.rc_multi_cb[idx].rc_connected) {
- status = BT_STATUS_NOT_READY;
- BTIF_TRACE_ERROR("%s: RC is not connected for device: 0x%x", __func__,
- btif_rc_cb.rc_multi_cb[idx].rc_addr);
- continue;
- }
+ if (!btif_rc_cb.rc_multi_cb[idx].rc_connected) continue;
if (btif_rc_cb.rc_multi_cb[idx].rc_volume == volume) {
status = BT_STATUS_DONE;