diff options
author | Yorke Lee <yorkelee@google.com> | 2013-11-08 12:06:24 -0800 |
---|---|---|
committer | Yorke Lee <yorkelee@google.com> | 2013-11-08 14:09:33 -0800 |
commit | 66b60af960e3bf2e3b425966026e4b8ed8d01a03 (patch) | |
tree | 1bbe44d89e4938b67ea9102c66b6b67416b5ac7e /src/com/android/dialer/calllog/CallLogGroupBuilder.java | |
parent | 7d661343d1ee126e2f34c7204315bbc61a2d9f36 (diff) |
Treat unknown call types as missed calls
Don't crash on unknown call types. Instead, just treat them as missed
calls.
Bug: 11586034
Change-Id: I4ca1721e1526ade36237251e7636d161ca8490be
Diffstat (limited to 'src/com/android/dialer/calllog/CallLogGroupBuilder.java')
-rw-r--r-- | src/com/android/dialer/calllog/CallLogGroupBuilder.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/com/android/dialer/calllog/CallLogGroupBuilder.java b/src/com/android/dialer/calllog/CallLogGroupBuilder.java index 1e4684e8f..213f1e774 100644 --- a/src/com/android/dialer/calllog/CallLogGroupBuilder.java +++ b/src/com/android/dialer/calllog/CallLogGroupBuilder.java @@ -78,8 +78,7 @@ public class CallLogGroupBuilder { shouldGroup = false; } else { // Incoming, outgoing, and missed calls group together. - shouldGroup = (callType == Calls.INCOMING_TYPE || callType == Calls.OUTGOING_TYPE || - callType == Calls.MISSED_TYPE); + shouldGroup = callType != Calls.VOICEMAIL_TYPE; } if (shouldGroup) { |