summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorjiadongz <jiadongz@codeaurora.org>2014-03-08 19:45:09 +0800
committeremancebo <emancebo@cyngn.com>2014-09-03 16:58:12 -0700
commit7e8ff4793fa9818262f8af334747ccef6f35aa55 (patch)
tree10ea739028c4961c9c622486cf879e63e7670ca0 /src
parentaef2105eb91ba4147d2a05d9d3e2487520a915f5 (diff)
downloadandroid_packages_apps_Dialer-7e8ff4793fa9818262f8af334747ccef6f35aa55.tar.gz
android_packages_apps_Dialer-7e8ff4793fa9818262f8af334747ccef6f35aa55.tar.bz2
android_packages_apps_Dialer-7e8ff4793fa9818262f8af334747ccef6f35aa55.zip
CSVT IMS: fix the csvt & ims call log display in call history.
Groups the incoming, outgoing and missed call together for the same number. Change-Id: If12ec1f2dbc83e4136551f16a93ea10962cc6ca7
Diffstat (limited to 'src')
-rw-r--r--src/com/android/dialer/calllog/CallLogGroupBuilder.java16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/com/android/dialer/calllog/CallLogGroupBuilder.java b/src/com/android/dialer/calllog/CallLogGroupBuilder.java
index e77facde9..213f1e774 100644
--- a/src/com/android/dialer/calllog/CallLogGroupBuilder.java
+++ b/src/com/android/dialer/calllog/CallLogGroupBuilder.java
@@ -76,22 +76,6 @@ public class CallLogGroupBuilder {
} else if (firstCallType == Calls.VOICEMAIL_TYPE) {
// never group voicemail.
shouldGroup = false;
- } else if (firstCallType == CallTypeHelper.MISSED_CSVT_TYPE) {
- // Voicemail and missed calls should only be grouped with subsequent missed calls.
- shouldGroup = callType == CallTypeHelper.MISSED_CSVT_TYPE;
- } else if (firstCallType == CallTypeHelper.INCOMING_CSVT_TYPE
- || firstCallType == CallTypeHelper.OUTGOING_CSVT_TYPE) {
- // Incoming and outgoing calls group together.
- shouldGroup = callType == CallTypeHelper.INCOMING_CSVT_TYPE
- || callType == CallTypeHelper.OUTGOING_CSVT_TYPE;
- } else if (firstCallType == CallTypeHelper.MISSED_IMS_TYPE) {
- // Voicemail and missed calls should only be grouped with subsequent missed calls.
- shouldGroup = callType == CallTypeHelper.MISSED_IMS_TYPE;
- } else if (firstCallType == CallTypeHelper.INCOMING_IMS_TYPE
- || firstCallType == CallTypeHelper.OUTGOING_IMS_TYPE) {
- // Incoming and outgoing calls group together.
- shouldGroup = callType == CallTypeHelper.INCOMING_IMS_TYPE
- || callType == CallTypeHelper.OUTGOING_IMS_TYPE;
} else {
// Incoming, outgoing, and missed calls group together.
shouldGroup = callType != Calls.VOICEMAIL_TYPE;