Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0f6deb18 authored by Joel Beckmeyer's avatar Joel Beckmeyer Committed by Georg Veichtlbauer
Browse files

Dialer: show blocked calls in call log

Change-Id: I8f8800cb9b5c823d85fa892d08c032e5f8daec69
parent 0395e026
Loading
Loading
Loading
Loading
+1 −5
Original line number Diff line number Diff line
@@ -157,12 +157,8 @@ public class CallLogQueryHandler extends NoNullCursorAsyncQueryHandler {
    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)");