[Feature][T106][task-view-1120] support ng-ecall, for 1.1.16.3 case,
cleardown may be -1
Only Configure: No
Affected branch: unknown
Affected module: log
Is it affected on both ZXIC and MTK: only zxic
Self-test: yes
Doc Update: no
Change-Id: Iffd5e6f570544b8da30ae19e5fb189d06524a98e
diff --git a/cap/zx297520v3/zxic_code/zxic_source/zxic_app_open/sdk/ril/reference-ril/ril_cc.c b/cap/zx297520v3/zxic_code/zxic_source/zxic_app_open/sdk/ril/reference-ril/ril_cc.c
index 72ad97e..a81b511 100755
--- a/cap/zx297520v3/zxic_code/zxic_source/zxic_app_open/sdk/ril/reference-ril/ril_cc.c
+++ b/cap/zx297520v3/zxic_code/zxic_source/zxic_app_open/sdk/ril/reference-ril/ril_cc.c
@@ -1713,14 +1713,7 @@
return RIL_UNSOL_ECALL_UNSPECIFIED;
}
case RIL_UNSOL_ECALL_EVENT_ALACK_CLEARDOWN_RECEIVED:
- if(ecall_mode==1)
- {
- return RIL_UNSOL_ECALL_IMS_MSD_ACK;
- }
- else
- {
- return RIL_UNSOL_ECALL_ALACK_CLEARDOWN_RECEIVED;
- }
+ return RIL_UNSOL_ECALL_ALACK_CLEARDOWN_RECEIVED;
case RIL_UNSOL_ECALL_EVENT_ALACK_POSITIVE_RECEIVED:
if(ecall_mode==1)
{
@@ -1852,12 +1845,11 @@
case RIL_ECALL_STATE_SEND_SUCCESS:
if(1 == clear_down){
ecall_state_indicate.ind = convert_ecall_ind_to_mtk_ind(RIL_UNSOL_ECALL_EVENT_ALACK_CLEARDOWN_RECEIVED,eCallMode);/*modify by hq at 2024/04/07 for ecall, modfify for ng-ecall at 2025/03/12*/
- } else if (0 == clear_down) {
+ }
+ else
+ {
ecall_state_indicate.ind = convert_ecall_ind_to_mtk_ind(RIL_UNSOL_ECALL_EVENT_ALACK_POSITIVE_RECEIVED,eCallMode);/*modify by hq at 2024/04/07 for ecall, modfify for ng-ecall at 2025/03/12*/
- } else {
- return;
- }
-
+ }
break;
case RIL_ECALL_STATE_SEND_FAILURE:
ecall_state_indicate.ind = convert_ecall_ind_to_mtk_ind(RIL_UNSOL_ECALL_EVENT_MSD_SEND_FAILURE,eCallMode);/*modify by hq at 2024/04/07 for ecall, modfify for ng-ecall at 2025/03/12*/