summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrandon Maxwell <maxwelb@google.com>2016-03-03 01:13:11 +0000
committerandroid-build-merger <android-build-merger@google.com>2016-03-03 01:13:11 +0000
commit7210993449b31ee80e56e77bd0acbc1dceea2494 (patch)
treeff0d97cf7b4364b2a12f4c030abea768f3ac5497
parent93163d05dc4d0992b2b7addb715f05624d53ad7e (diff)
parent81aeb4053adb133d18766766950be37d601a56fa (diff)
Merge "Fixing missed call badge query" into nyc-dev
am: 81aeb4053a * commit '81aeb4053adb133d18766766950be37d601a56fa': Fixing missed call badge query
-rw-r--r--src/com/android/dialer/calllog/CallLogQueryHandler.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/dialer/calllog/CallLogQueryHandler.java b/src/com/android/dialer/calllog/CallLogQueryHandler.java
index 9ff74cfbc..3b493cf77 100644
--- a/src/com/android/dialer/calllog/CallLogQueryHandler.java
+++ b/src/com/android/dialer/calllog/CallLogQueryHandler.java
@@ -291,7 +291,7 @@ public class CallLogQueryHandler extends NoNullCursorAsyncQueryHandler {
*/
private String getUnreadMissedCallsQuery() {
StringBuilder where = new StringBuilder();
- where.append(Calls.IS_READ).append(" = 0");
+ where.append(Calls.IS_READ).append(" = 0 OR ").append(Calls.IS_READ).append(" IS NULL");
where.append(" AND ");
where.append(Calls.TYPE).append(" = ").append(Calls.MISSED_TYPE);
return where.toString();