[Bugfix][T108-yd][bug-view-2187][voice] sometime dial number string will have a plus number in cb
Only Configure:No
Affected branchmaster
Affected module:voice
Is it affected on:asr
Doc Update:No
Change-Id: Ic5243b9169a06460bceb877b6294784adc6d48c6
diff --git a/mbtk/mbtk_rild_v2/src/ril_call.c b/mbtk/mbtk_rild_v2/src/ril_call.c
index fe9d374..97595fa 100755
--- a/mbtk/mbtk_rild_v2/src/ril_call.c
+++ b/mbtk/mbtk_rild_v2/src/ril_call.c
@@ -361,7 +361,7 @@
{
case RIL_MSG_ID_CALL_START: // <string> phone number
{
- if(pack->data_len == 0 || pack->data == NULL)
+ if(pack->data_len == 1 || pack->data == NULL) // data_len == 1 is wrote by hq at 2025/08/26 for bug 2187
{
err = MBTK_RIL_ERR_UNSUPPORTED;
}
diff --git a/mbtk/mbtk_rild_v2/src/ril_ecall.c b/mbtk/mbtk_rild_v2/src/ril_ecall.c
index 3a13b61..2924ac5 100755
--- a/mbtk/mbtk_rild_v2/src/ril_ecall.c
+++ b/mbtk/mbtk_rild_v2/src/ril_ecall.c
@@ -945,7 +945,7 @@
{
uint8 msd[MBTK_ECALL_MSD_LEN_MAX];
memset(msd, 0, sizeof(msd));
- if(pack->data_len == 0 || pack->data == NULL)
+ if(pack->data_len == 1 || pack->data == NULL) // data_len == 1 is wrote by hq at 2025/08/26 for bug 2187
{
if(req_ecall_msd_get(cli_info->sim_id, cli_info->port, msd, &cme_err) || cme_err != MBTK_RIL_ERR_CME_NON)
{
@@ -1192,7 +1192,7 @@
{
uint8 number[RIL_MAX_NUMBER_LEN];
memset(number, 0, sizeof(number));
- if(pack->data_len == 0 || pack->data == NULL)
+ if(pack->data_len == 1 || pack->data == NULL) // data_len == 1 is wrote by hq at 2025/08/26 for bug 2187
{
if(req_ecall_sms_num_get(cli_info->sim_id, cli_info->port, number, &cme_err) || strlen((char*)number) == 0 || cme_err != MBTK_RIL_ERR_CME_NON)
{
diff --git a/mbtk/mbtk_rild_v2/src/ril_net.c b/mbtk/mbtk_rild_v2/src/ril_net.c
index 7935352..427c535 100755
--- a/mbtk/mbtk_rild_v2/src/ril_net.c
+++ b/mbtk/mbtk_rild_v2/src/ril_net.c
@@ -1674,7 +1674,7 @@
}
case RIL_MSG_ID_NET_CELL:
{
- if(pack->data_len == 0 || pack->data == NULL) // Get net cell.
+ if(pack->data_len == 1 || pack->data == NULL) // Get net cell. // data_len == 1 is wrote by hq at 2025/08/26 for bug 2187
{
if(req_cell_info_get(cli_info->sim_id, cli_info->port, &cme_err) || cme_err != MBTK_RIL_ERR_CME_NON)
{