Update enum names of contacts-service, which are modified 26/57526/1 accepted/tizen/mobile/20160125.010624 accepted/tizen/tv/20160125.010648 accepted/tizen/wearable/20160125.010705 submit/tizen/20160120.111308
authorMu-Woong Lee <muwoong.lee@samsung.com>
Thu, 21 Jan 2016 01:08:29 +0000 (10:08 +0900)
committerMu-Woong Lee <muwoong.lee@samsung.com>
Thu, 21 Jan 2016 01:10:23 +0000 (17:10 -0800)
Change-Id: Ic286d91f4a46e35cf8ccd1b0c94a3f3eeeee5b3d
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
(cherry picked from commit 02ced053be23e20766aa52de7e6d64cb0a6f6643)

src/statistics/social/db_handle.cpp
src/statistics/social/log_aggregator.cpp

index ccdb1c2..e6a1a01 100644 (file)
@@ -62,12 +62,12 @@ std::string ctx::social_db_handle::create_where_clause(ctx::json filter)
        switch(comm_type) {
        case SOCIAL_COMMUNICATION_TYPE_CALL:
                where_clause <<
-                       " AND " SOCIAL_PHONE_LOG_TYPE " >= " << CONTACTS_PLOG_TYPE_VOICE_INCOMMING <<
+                       " AND " SOCIAL_PHONE_LOG_TYPE " >= " << CONTACTS_PLOG_TYPE_VOICE_INCOMING <<
                        " AND " SOCIAL_PHONE_LOG_TYPE " <= " << CONTACTS_PLOG_TYPE_VIDEO_BLOCKED;
                break;
        case SOCIAL_COMMUNICATION_TYPE_MESSAGE:
                where_clause <<
-                       " AND " SOCIAL_PHONE_LOG_TYPE " >= " << CONTACTS_PLOG_TYPE_MMS_INCOMMING <<
+                       " AND " SOCIAL_PHONE_LOG_TYPE " >= " << CONTACTS_PLOG_TYPE_MMS_INCOMING <<
                        " AND " SOCIAL_PHONE_LOG_TYPE " <= " << CONTACTS_PLOG_TYPE_MMS_BLOCKED;
                break;
        default:
index c04e918..2c4af98 100644 (file)
@@ -91,7 +91,7 @@ void ctx::contact_log_aggregator::get_updated_contact_log_list(int last_time, co
        err = contacts_filter_create(_contacts_phone_log._uri, &filter);
        IF_FAIL_CATCH_TAG(err == CONTACTS_ERROR_NONE, _E, "contacts_filter_create() failed");
 
-       contacts_filter_add_int(filter, _contacts_phone_log.log_type, CONTACTS_MATCH_GREATER_THAN_OR_EQUAL, CONTACTS_PLOG_TYPE_VOICE_INCOMMING);
+       contacts_filter_add_int(filter, _contacts_phone_log.log_type, CONTACTS_MATCH_GREATER_THAN_OR_EQUAL, CONTACTS_PLOG_TYPE_VOICE_INCOMING);
        contacts_filter_add_operator(filter, CONTACTS_FILTER_OPERATOR_AND);
        contacts_filter_add_int(filter, _contacts_phone_log.log_type, CONTACTS_MATCH_LESS_THAN_OR_EQUAL, CONTACTS_PLOG_TYPE_MMS_BLOCKED);
        contacts_filter_add_operator(filter, CONTACTS_FILTER_OPERATOR_AND);