summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyeonghun Lee <kh9090.lee@samsung.com>2016-02-24 14:30:11 +0900
committerKyeonghun Lee <kh9090.lee@samsung.com>2016-02-24 14:30:11 +0900
commit3b6a8a27dd394fb3a49b9d35699dbbf290fdf345 (patch)
tree9408082dc47fdfcf18354e76378e05f38dc3a81d
parentf4ca3139aa5b0e98f390a500fae17c156528ef85 (diff)
downloadmsg-service-3b6a8a27dd394fb3a49b9d35699dbbf290fdf345.tar.gz
msg-service-3b6a8a27dd394fb3a49b9d35699dbbf290fdf345.tar.bz2
msg-service-3b6a8a27dd394fb3a49b9d35699dbbf290fdf345.zip
set sim slot number for contact service
Change-Id: Iaf5c97c8efc32bc973aaf523c8ab42efe0efe2b4 Signed-off-by: Kyeonghun Lee <kh9090.lee@samsung.com>
-rwxr-xr-xutils/MsgContact.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/utils/MsgContact.cpp b/utils/MsgContact.cpp
index 22298e9..b438b9a 100755
--- a/utils/MsgContact.cpp
+++ b/utils/MsgContact.cpp
@@ -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));