Fix a sql statement.

Change-Id: I32cb6f5e52173059b08a83cbf65c9e4ac31302b4
This commit is contained in:
Yu Ping Hu 2013-10-04 14:53:42 -07:00
parent 3f24a9e2c7
commit 29984af2b2

View File

@ -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 + "=?";