From: Iryna Ferenchak Date: Tue, 22 Mar 2016 14:47:51 +0000 (+0200) Subject: TizenRefApp-5916 Implement missed calls as ungrouped X-Git-Tag: submit/tizen/20160524.113145~100 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5d76fa24d14e5b5e10721f7a560c198aa2d897bb;p=profile%2Fmobile%2Fapps%2Fnative%2Fphone-contacts.git TizenRefApp-5916 Implement missed calls as ungrouped Change-Id: I935197af3758c5a76557bd86aaa6f529e4316aed Signed-off-by: Iryna Ferenchak --- diff --git a/lib-logs/src/Logs/Model/LogProvider.cpp b/lib-logs/src/Logs/Model/LogProvider.cpp index 674a4f7..b5928a9 100644 --- a/lib-logs/src/Logs/Model/LogProvider.cpp +++ b/lib-logs/src/Logs/Model/LogProvider.cpp @@ -112,7 +112,10 @@ size_t LogProvider::fillGroupList(LogIterator begin, LogIterator end) bool LogProvider::shouldGroupLogs(Log &log, Log &prevLog) { - return (log.getType() == prevLog.getType() + int type = log.getType(); + return (type == prevLog.getType() + && type != CONTACTS_PLOG_TYPE_VOICE_INCOMING_UNSEEN + && type != CONTACTS_PLOG_TYPE_VOICE_INCOMING_SEEN && strcmp(log.getNumber(), prevLog.getNumber()) == 0 && compareDate(log.getTime(), prevLog.getTime())); }