summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/com/android/phone/vvm/omtp/sync/VoicemailsQueryHelper.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/com/android/phone/vvm/omtp/sync/VoicemailsQueryHelper.java b/src/com/android/phone/vvm/omtp/sync/VoicemailsQueryHelper.java
index b86351cbb..8e2c76a8f 100644
--- a/src/com/android/phone/vvm/omtp/sync/VoicemailsQueryHelper.java
+++ b/src/com/android/phone/vvm/omtp/sync/VoicemailsQueryHelper.java
@@ -48,7 +48,8 @@ public class VoicemailsQueryHelper {
public static final int IS_READ = 2;
public static final int DELETED = 3;
- final static String READ_SELECTION = Voicemails.DIRTY + "=1 AND " + Voicemails.DELETED + "!=1";
+ final static String READ_SELECTION = Voicemails.DIRTY + "=1 AND "
+ + Voicemails.DELETED + "!=1 AND " + Voicemails.IS_READ + "=1";
final static String DELETED_SELECTION = Voicemails.DELETED + "=1";
private Context mContext;