dbHandle->finalizeQuery();
+#if 0 /* This block will be activated after find way to get own number with any SIMs */
if (pMsg->msgType.mainType == MSG_MMS_TYPE && pMsg->networkStatus == MSG_NETWORK_RETRIEVE_SUCCESS) {
/* get recipients information. */
MsgStoGetRecipientsByMsgId(dbHandle, pMsg->msgId, &pMsg->nAddressCnt, &pMsg->addressList);
/* get address information. */
MsgStoGetAddressByMsgId(dbHandle, pMsg->msgId, &pMsg->nAddressCnt, &pMsg->addressList);
}
-
+#else
+ /* get address information. */
+ MsgStoGetAddressByMsgId(dbHandle, pMsg->msgId, &pMsg->nAddressCnt, &pMsg->addressList);
+#endif
/* Get MMS body if it is MMS. */
if ((pMsg->networkStatus == MSG_NETWORK_RETRIEVE_SUCCESS &&
(pMsg->msgType.subType == MSG_RETRIEVE_MMS || pMsg->msgType.subType == MSG_RETRIEVE_AUTOCONF_MMS || pMsg->msgType.subType == MSG_RETRIEVE_MANUALCONF_MMS)) ||
addr_cnt++;
iter = iter->pNext;
}
-
+#if 0 /* This block will be activated after find way to get own number with any SIMs */
iter = mmsHeader.pTo;
while (iter) {
MmsAddrUtilRemovePlmnString(iter->szAddr);
addr_cnt++;
iter = iter->pNext;
}
-
+#endif
MSG_ADDRESS_INFO_S *recipients_addr_info = NULL;
if (recipients_cnt > 0) {
recipients_addr_info = (MSG_ADDRESS_INFO_S *)new char[sizeof(MSG_ADDRESS_INFO_S)*recipients_cnt];
__fillAddressInfo(&(pMsgInfo->addressList[0]), mmsHeader.pFrom->szAddr, MSG_RECIPIENTS_TYPE_UNKNOWN);
__fillAddressInfo(&recipients_addr_info[0], mmsHeader.pFrom->szAddr, MSG_RECIPIENTS_TYPE_UNKNOWN);
}
-
+#if 0 /* This block will be activated after find way to get own number with any SIMs */
int addr_idx = 0;
int recipients_idx = 0;
if (mmsHeader.pTo) {
iter = iter->pNext;
}
}
+#endif
}
MSG_SEC_DEBUG("%d, MMS Receive %s End %s->%s %s", pMsgInfo->msgId