diff options
author | Treehugger Robot <treehugger-gerrit@google.com> | 2018-01-12 11:34:13 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2018-01-12 11:34:13 +0000 |
commit | 9772be09602be30a0b4479dfe80ed2adb46f6fc3 (patch) | |
tree | e8f671edd7d306abcb9cac53225110a1d024815b /java | |
parent | 6bd659e6e90346f58ed08f6c127835a320bbd2e4 (diff) | |
parent | f1f88f7ee00a63418388cf1543d4515bea640896 (diff) |
Merge "Do not show deleted voicemails in the NUI Voicemail tab"
Diffstat (limited to 'java')
-rw-r--r-- | java/com/android/dialer/calllog/datasources/systemcalllog/SystemCallLogDataSource.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/java/com/android/dialer/calllog/datasources/systemcalllog/SystemCallLogDataSource.java b/java/com/android/dialer/calllog/datasources/systemcalllog/SystemCallLogDataSource.java index 5edc46a0a..34e6069f0 100644 --- a/java/com/android/dialer/calllog/datasources/systemcalllog/SystemCallLogDataSource.java +++ b/java/com/android/dialer/calllog/datasources/systemcalllog/SystemCallLogDataSource.java @@ -28,6 +28,7 @@ import android.os.Handler; import android.provider.CallLog; import android.provider.CallLog.Calls; import android.provider.VoicemailContract; +import android.provider.VoicemailContract.Voicemails; import android.support.annotation.ColorInt; import android.support.annotation.MainThread; import android.support.annotation.Nullable; @@ -249,7 +250,7 @@ public class SystemCallLogDataSource implements CallLogDataSource { Calls.PHONE_ACCOUNT_ID, Calls.FEATURES }, - Calls.LAST_MODIFIED + " > ?", + Calls.LAST_MODIFIED + " > ? AND " + Voicemails.DELETED + " = 0", new String[] {String.valueOf(previousTimestampProcessed)}, Calls.LAST_MODIFIED + " DESC LIMIT 1000")) { |