From 4aafe0916363030ba5b2c3cdd6dd80410c27923e Mon Sep 17 00:00:00 2001 From: hcj <1224667075@qq.com> Date: Thu, 14 Nov 2024 18:04:21 +0800 Subject: [PATCH] =?utf8?q?=E8=93=9D=E7=89=99=E7=94=B5=E8=AF=9Dpbap?= =?utf8?q?=E6=9C=8D=E5=8A=A1=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .../fd230app/nativeui/phoneservice/src/PhoneService.cpp | 3 +++ 1 file changed, 3 insertions(+) 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) -- 2.17.1