[BugFix][L805A-29]Solve wait subcard incomming call failed
Only Configure:No
Affected branch:DSDS
Affected module:CALL
Is it affected on both ZXIC and MTK: MTK
Self-test: Yes
Doc Update:No
Change-Id: I7881951b8131c0ee63d32454d8be2d5951bc62c3
diff --git a/common_src/lib/liblynq-call/lynq_call.cpp b/common_src/lib/liblynq-call/lynq_call.cpp
index d4d57d2..292c4fe 100755
--- a/common_src/lib/liblynq-call/lynq_call.cpp
+++ b/common_src/lib/liblynq-call/lynq_call.cpp
@@ -92,6 +92,7 @@
#ifdef MODE_DSDS
int global_slot = -1;
+int urc_slot = -1;
#endif
@@ -1044,6 +1045,10 @@
LYERRLOG("%s module state %d error",__func__,g_module_init_flag);
return LYNQ_E_CONFLICT;
}
+
+#ifdef MODE_DSDS
+ urc_slot = -1;
+#endif
try_reset_audio_service();
#ifdef GSW_RIL_CFG
@@ -1645,6 +1650,9 @@
p->readInt32(&resp_type);
p->readInt32(&urcid);
p->readInt32(&slot_id);
+#ifdef MODE_DSDS
+ urc_slot = slot_id;
+#endif
LYINFLOG("%s urc id = %d, slot_id = %d, size is %d, msg is %s",__func__, urcid,slot_id,size,requestToString(urcid));
switch (urcid)
{