Merge "Fix a sql statement." into jb-ub-mail-ur10

This commit is contained in:
Yu Ping Hu 2013-10-04 21:54:59 +00:00 committed by Android (Google) Code Review
commit 12700853ab

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. * 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 = 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.SYNC_KEY + "!='0'" + MailboxColumns.SYNC_INTERVAL + "=1 and " +
MailboxColumns.ACCOUNT_KEY + "=?"; MailboxColumns.ACCOUNT_KEY + "=?";