summaryrefslogtreecommitdiff
path: root/utils/MsgContact.cpp
diff options
context:
space:
mode:
authorseunggi.hong <seunggi.hong@samsung.com>2015-07-01 22:19:20 +0900
committerseunggi.hong <seunggi.hong@samsung.com>2015-07-01 22:19:20 +0900
commit15c4faa65d59ec63fb8c46ef35fcecd9dafd4883 (patch)
treed3560ebc69d2affeafa441fc650f14bcba55d80c /utils/MsgContact.cpp
parent5a7ba9b36f753b1ee5c270056550213a5ead8ee0 (diff)
downloadmsg-service-15c4faa65d59ec63fb8c46ef35fcecd9dafd4883.tar.gz
msg-service-15c4faa65d59ec63fb8c46ef35fcecd9dafd4883.tar.bz2
msg-service-15c4faa65d59ec63fb8c46ef35fcecd9dafd4883.zip
Fix build error
Change-Id: Ia527cbf3d3eaf5a5ff9b70db9e55e2589d893b5d
Diffstat (limited to 'utils/MsgContact.cpp')
-rwxr-xr-xutils/MsgContact.cpp22
1 files changed, 7 insertions, 15 deletions
diff --git a/utils/MsgContact.cpp b/utils/MsgContact.cpp
index e0155e5..01cf873 100755
--- a/utils/MsgContact.cpp
+++ b/utils/MsgContact.cpp
@@ -220,21 +220,6 @@ void normalizeNumber(const char *orig, char* dest, unsigned int destSize)
}
-//static void MsgContactSvcCallback(const char *view_uri, void *user_data)
-//{
-// MSG_DEBUG("MsgContactSvcCallback is called.");
-// if (!strcmp(CONTACT_CALLBACK_USER_DATA, (const char*)user_data)) {
-// MSG_DEBUG("Contact Data is Changed!!!");
-// MsgSyncContact();
-// } else if (!strcmp(ADDRESSBOOK_CALLBACK_USER_DATA, (const char*)user_data)) {
-// MSG_DEBUG("Address Book Data is Changed!!!");
-// MsgSyncAddressbook();
-// }
-//
-// if (ContactDbHandle.disconnect() != MSG_SUCCESS)
-// MSG_DEBUG("DB Disconnect Fail");
-//}
-
#ifndef MSG_CONTACTS_SERVICE_NOT_SUPPORTED
/*==================================================================================================
FUNCTION IMPLEMENTATION
@@ -1409,6 +1394,7 @@ int MsgContactSVCEndTrans(bool bSuccess)
bool checkBlockingMode(char *address, bool *pisFavorites)
{
+#if 0
MsgZoneChange();
msg_error_t err = MSG_SUCCESS;
@@ -1556,6 +1542,12 @@ bool checkBlockingMode(char *address, bool *pisFavorites)
MsgZoneRevert();
return isblock;
+#else
+ if (pisFavorites != NULL)
+ *pisFavorites = false;
+
+ return false;
+#endif
}
#endif //MSG_CONTACTS_SERVICE_NOT_SUPPORTED