// #ifdef FD230_650
if(CallerLogModel::GetInstance()->GetCallSource()==CallerLogModel::CallSourceCat1)
{
+ #ifdef SUPPORT_CAT1_HFP_AG_SERV
if(headset_SCO_Is_connect()==false)
{
- #ifdef SUPPORT_CAT1_HFP_AG_SERV
+
// do_custom_cmd_service_check_msg(CUSTOM_CMD_MSG_CAT_AUDIO_END, nullptr, 0);
- #endif
+
do_custom_cmd_service_check_msg(CUSTOM_CMD_MSG_CAT1_AUDIO_STOP, nullptr, 0);
}
else
{
- #ifdef SUPPORT_CAT1_HFP_AG_SERV
+
if(headset_Is_connect())
{
cat1_ag_send_call_event(TOPIC_EVENT_CAT1_CALLENDED,NULL);
}
- #endif
}
CallerLogModel::GetInstance()->SetCallSource(CallerLogModel::CallSource::CallSourcePhone);
+ #endif
}