set sim slot number for contact service 80/60180/1
authorKyeonghun Lee <kh9090.lee@samsung.com>
Wed, 24 Feb 2016 05:30:11 +0000 (14:30 +0900)
committerKyeonghun Lee <kh9090.lee@samsung.com>
Wed, 24 Feb 2016 05:30:11 +0000 (14:30 +0900)
Change-Id: Iaf5c97c8efc32bc973aaf523c8ab42efe0efe2b4
Signed-off-by: Kyeonghun Lee <kh9090.lee@samsung.com>
utils/MsgContact.cpp

index 22298e9..b438b9a 100755 (executable)
@@ -692,6 +692,7 @@ void MsgAddPhoneLog(const MSG_MESSAGE_INFO_S *pMsgInfo)
                        break;
                }
 
+               contacts_record_set_int(plog, _contacts_phone_log.sim_slot_no, (int)pMsgInfo->sim_idx-1);
                contacts_record_set_str(plog, _contacts_phone_log.address, (char*)pMsgInfo->addressList[i].addressVal);
                contacts_record_set_int(plog, _contacts_phone_log.log_time, (int)time(NULL));