Dialer: show blocked calls in call log
Change-Id: I8f8800cb9b5c823d85fa892d08c032e5f8daec69
diff --git a/java/com/android/dialer/database/CallLogQueryHandler.java b/java/com/android/dialer/database/CallLogQueryHandler.java
index 4c19e2d..99125ca 100644
--- a/java/com/android/dialer/database/CallLogQueryHandler.java
+++ b/java/com/android/dialer/database/CallLogQueryHandler.java
@@ -157,12 +157,8 @@
StringBuilder where = new StringBuilder();
List<String> selectionArgs = new ArrayList<>();
- // Always hide blocked calls.
- where.append("(").append(Calls.TYPE).append(" != ?)");
- selectionArgs.add(Integer.toString(Calls.BLOCKED_TYPE));
-
// Ignore voicemails marked as deleted
- where.append(" AND (").append(Voicemails.DELETED).append(" = 0)");
+ where.append("(").append(Voicemails.DELETED).append(" = 0)");
if (newOnly) {
where.append(" AND (").append(Calls.NEW).append(" = 1)");