From 29984af2b2cf8114c860d89765125a05316fd736 Mon Sep 17 00:00:00 2001 From: Yu Ping Hu Date: Fri, 4 Oct 2013 14:53:42 -0700 Subject: [PATCH] Fix a sql statement. Change-Id: I32cb6f5e52173059b08a83cbf65c9e4ac31302b4 --- emailcommon/src/com/android/emailcommon/provider/Mailbox.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/emailcommon/src/com/android/emailcommon/provider/Mailbox.java b/emailcommon/src/com/android/emailcommon/provider/Mailbox.java index 92aa2c49c..069d196c7 100644 --- a/emailcommon/src/com/android/emailcommon/provider/Mailbox.java +++ b/emailcommon/src/com/android/emailcommon/provider/Mailbox.java @@ -193,7 +193,7 @@ public class Mailbox extends EmailContent implements MailboxColumns, Parcelable * push if it has a valid, non-initial sync key and is opted in for sync. */ private static final String PUSH_MAILBOXES_FOR_ACCOUNT_SELECTION = - MailboxColumns.SYNC_KEY + "not null and " + MailboxColumns.SYNC_KEY + "!='' and " + + MailboxColumns.SYNC_KEY + " is not null and " + MailboxColumns.SYNC_KEY + "!='' and " + MailboxColumns.SYNC_KEY + "!='0'" + MailboxColumns.SYNC_INTERVAL + "=1 and " + MailboxColumns.ACCOUNT_KEY + "=?";