Loading system/bta/ag/bta_ag_cmd.cc +3 −2 Original line number Diff line number Diff line Loading @@ -1760,8 +1760,9 @@ void bta_ag_send_ring(tBTA_AG_SCB* p_scb, UNUSED_ATTR const tBTA_AG_DATA& data) { if ((p_scb->conn_service == BTA_AG_HFP) && p_scb->callsetup_ind != BTA_AG_CALLSETUP_INCOMING) { APPL_TRACE_DEBUG("%s: don't send the ring since there is no MT call setup", __func__); LOG(WARNING) << __func__ << ": don't send RING, conn_service=" << std::to_string(p_scb->conn_service) << ", callsetup_ind=" << std::to_string(p_scb->callsetup_ind); return; } /* send RING */ Loading system/bta/ag/bta_ag_sco.cc +1 −1 Original line number Diff line number Diff line Loading @@ -1157,7 +1157,7 @@ void bta_ag_sco_listen(tBTA_AG_SCB* p_scb, ******************************************************************************/ void bta_ag_sco_open(tBTA_AG_SCB* p_scb, UNUSED_ATTR const tBTA_AG_DATA& data) { if (!sco_allowed) { APPL_TRACE_DEBUG("%s not opening sco, by policy", __func__); LOG(INFO) << __func__ << ": not opening sco, by policy"; return; } /* if another scb using sco, this is a transfer */ Loading system/btif/src/btif_hf.cc +3 −0 Original line number Diff line number Diff line Loading @@ -1139,6 +1139,9 @@ bt_status_t HeadsetInterface::PhoneStateChange( res = BTA_AG_CALL_WAIT_RES; } else { res = BTA_AG_IN_CALL_RES; if (is_active_device(*bd_addr)) { ag_res.audio_handle = control_block.handle; } } if (number) { int xx = 0; Loading Loading
system/bta/ag/bta_ag_cmd.cc +3 −2 Original line number Diff line number Diff line Loading @@ -1760,8 +1760,9 @@ void bta_ag_send_ring(tBTA_AG_SCB* p_scb, UNUSED_ATTR const tBTA_AG_DATA& data) { if ((p_scb->conn_service == BTA_AG_HFP) && p_scb->callsetup_ind != BTA_AG_CALLSETUP_INCOMING) { APPL_TRACE_DEBUG("%s: don't send the ring since there is no MT call setup", __func__); LOG(WARNING) << __func__ << ": don't send RING, conn_service=" << std::to_string(p_scb->conn_service) << ", callsetup_ind=" << std::to_string(p_scb->callsetup_ind); return; } /* send RING */ Loading
system/bta/ag/bta_ag_sco.cc +1 −1 Original line number Diff line number Diff line Loading @@ -1157,7 +1157,7 @@ void bta_ag_sco_listen(tBTA_AG_SCB* p_scb, ******************************************************************************/ void bta_ag_sco_open(tBTA_AG_SCB* p_scb, UNUSED_ATTR const tBTA_AG_DATA& data) { if (!sco_allowed) { APPL_TRACE_DEBUG("%s not opening sco, by policy", __func__); LOG(INFO) << __func__ << ": not opening sco, by policy"; return; } /* if another scb using sco, this is a transfer */ Loading
system/btif/src/btif_hf.cc +3 −0 Original line number Diff line number Diff line Loading @@ -1139,6 +1139,9 @@ bt_status_t HeadsetInterface::PhoneStateChange( res = BTA_AG_CALL_WAIT_RES; } else { res = BTA_AG_IN_CALL_RES; if (is_active_device(*bd_addr)) { ag_res.audio_handle = control_block.handle; } } if (number) { int xx = 0; Loading