From: hcj <1224667075@qq.com> Date: Thu, 14 Nov 2024 10:04:21 +0000 (+0800) Subject: 蓝牙电话pbap服务修改 X-Git-Tag: fd230_release_V1.3.102~83 X-Git-Url: http://git.snicker.com.cn/css/static/gitweb.css?a=commitdiff_plain;h=refs%2Fchanges%2F1398%2F3;p=mirrors%2FFD230.git 蓝牙电话pbap服务修改 --- diff --git a/code/sdk/application/wearable/fd230app/nativeui/phoneservice/src/PhoneService.cpp b/code/sdk/application/wearable/fd230app/nativeui/phoneservice/src/PhoneService.cpp index aebaa748b..2aae4268e 100644 --- a/code/sdk/application/wearable/fd230app/nativeui/phoneservice/src/PhoneService.cpp +++ b/code/sdk/application/wearable/fd230app/nativeui/phoneservice/src/PhoneService.cpp @@ -1610,6 +1610,9 @@ static void CallStateChanged(const bd_addr_t *bdAddr, const hfp_hf_calls_info_t SetCompleteCallFlag(call); CatCallStateChangedInfo(bdAddr, call); CallAudioHandle(call); + + if(call->state==HFP_HF_CALL_STATE_INCOMING || call->state==HFP_HF_CALL_STATE_DIALING + || call->state==HFP_HF_CALL_STATE_ALERTING) uapi_pbap_cmd_pull_vcard_listing((unsigned char *)call->number); if(HFP_HF_CALL_STATE_INCOMING!=call->state)