From: hcj <1224667075@qq.com> Date: Fri, 22 Nov 2024 07:19:30 +0000 (+0800) Subject: 非4G电话界面结束4G电话场景修改 X-Git-Tag: fd230_release_V1.3.102~39^2~8 X-Git-Url: http://git.snicker.com.cn/css/static/gitweb.css?a=commitdiff_plain;h=refs%2Fchanges%2F1447%2Fhead;p=mirrors%2FFD230.git 非4G电话界面结束4G电话场景修改 --- diff --git a/code/sdk/application/wearable/service/msg_center/src/notify/makephone_notification.cpp b/code/sdk/application/wearable/service/msg_center/src/notify/makephone_notification.cpp index 12556026a..6d8d8b395 100755 --- a/code/sdk/application/wearable/service/msg_center/src/notify/makephone_notification.cpp +++ b/code/sdk/application/wearable/service/msg_center/src/notify/makephone_notification.cpp @@ -681,6 +681,8 @@ static void WatchFinishHandle(void) { if (NotificationManager::GetInstance()->GetWatchCallStatus()) { + WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "GetWatchCallStatus !!"); + if(get_falg_SOS()) { addcalllog(); @@ -688,14 +690,18 @@ static void WatchFinishHandle(void) } else { - if(CallerLogModel::GetInstance()->GetCallSource()==CallerLogModel::CallSourcePhone) - { - addcalllog(); - } - else if(uapi_dev_runtime_get_train_status() || transmittingISShow()) + if(CallerLogModel::GetInstance()->GetCallSource()==CallerLogModel::CallSourcePhone + || uapi_dev_runtime_get_train_status() || transmittingISShow() ) { + WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "addcalllogend !!"); + addcalllog(); - StatusReset(); + + if(uapi_dev_runtime_get_train_status() || transmittingISShow()) + { + StatusReset(); + } + } else { @@ -801,8 +807,9 @@ void CalldialTimerCallBackProc(int data) dail_falg++; if(dail_falg>=DIAL_TIME) { - // cat1_call_hungup_timer(); - cat1_handle_call_disconnected("callfail"); + cat1_call_hungup_timer(); + + // cat1_handle_call_disconnected((char *)CallerLogModel::GetInstance()->GetPhoneNumber().c_str()); } }