dbHandle->endTrans(true);
/* Update Thread Callback */
- if (bCheckIndication == true && MsgExistConversation(dbHandle, convId) == true && MsgExistInThreadViewList(dbHandle, convId) == true)
- MsgTransactionManager::instance()->broadcastThreadChangeCB(MSG_SUCCESS, MSG_STORAGE_CHANGE_UPDATE, convId);
- else if (bCheckIndication == true)
- MsgTransactionManager::instance()->broadcastThreadChangeCB(MSG_SUCCESS, MSG_STORAGE_CHANGE_DELETE, convId);
+ if (bCheckIndication == true) {
+ if (MsgExistConversation(dbHandle, convId) == true && MsgExistInThreadViewList(dbHandle, convId) == true)
+ MsgTransactionManager::instance()->broadcastThreadChangeCB(MSG_SUCCESS, MSG_STORAGE_CHANGE_UPDATE, convId);
+ else
+ MsgTransactionManager::instance()->broadcastThreadChangeCB(MSG_SUCCESS, MSG_STORAGE_CHANGE_DELETE, convId);
+ }
if (msgType.mainType == MSG_SMS_TYPE && folderId == MSG_INBOX_ID) {
msgType.classType = MSG_CLASS_NONE;
MsgStoSetReadReportSendStatus(pReqInfo->msgInfo.msgId, MMS_RECEIVE_READ_REPORT_SENT);
if (err != MSG_SUCCESS) {
- if(pReqInfo->msgInfo.msgType.subType == MSG_RETRIEVE_MMS )
+ if(pReqInfo->msgInfo.msgType.subType == MSG_RETRIEVE_MMS)
MsgStoUpdateNetworkStatus(dbHandle, &(pReqInfo->msgInfo), MSG_NETWORK_RETRIEVE_FAIL);
else
MsgStoUpdateNetworkStatus(dbHandle, &(pReqInfo->msgInfo), MSG_NETWORK_SEND_FAIL);
tm->setJavaMMSList(&trId);
}
- ret[0] = reqId;
- ret[1] = reqInfo.msgInfo.msgId;
- ret[2] = reqInfo.msgInfo.threadId;
+ ret[0] = reqId;
+ ret[1] = reqInfo.msgInfo.msgId;
+ ret[2] = reqInfo.msgInfo.threadId;
/* Make Event Data */
eventSize = MsgMakeEvent(ret, sizeof(ret), MSG_EVENT_SUBMIT_REQ, err, (void**)ppEvent);