From 3dd85723a1af5537e23e4b05bdc361cce9cd42be Mon Sep 17 00:00:00 2001 From: Tony Mantler Date: Fri, 11 Apr 2014 14:42:28 -0700 Subject: Cleanup in EmailContent Change-Id: Ifa251eb206779f59ea003f99395d454c7e407bc2 --- emailsync/src/com/android/emailsync/SyncManager.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'emailsync/src/com') diff --git a/emailsync/src/com/android/emailsync/SyncManager.java b/emailsync/src/com/android/emailsync/SyncManager.java index 2ec6f36d8..29a9b3cd4 100644 --- a/emailsync/src/com/android/emailsync/SyncManager.java +++ b/emailsync/src/com/android/emailsync/SyncManager.java @@ -131,7 +131,7 @@ public abstract class SyncManager extends Service implements Runnable { + Mailbox.TYPE_CALENDAR + ')'; protected static final String WHERE_IN_ACCOUNT_AND_TYPE_INBOX = MailboxColumns.ACCOUNT_KEY + "=? and type = " + Mailbox.TYPE_INBOX ; - private static final String WHERE_MAILBOX_KEY = Message.MAILBOX_KEY + "=?"; + private static final String WHERE_MAILBOX_KEY = MessageColumns.MAILBOX_KEY + "=?"; private static final String WHERE_NOT_INTERVAL_NEVER_AND_ACCOUNT_KEY_IN = "(" + MailboxColumns.TYPE + '=' + Mailbox.TYPE_OUTBOX + " or " + MailboxColumns.SYNC_INTERVAL + "<" + Mailbox.CHECK_INTERVAL_NEVER + ')' @@ -1208,7 +1208,6 @@ public abstract class SyncManager extends Service implements Runnable { * Starts a service thread and enters it into the service map * This is the point of instantiation of all sync threads * @param service the service to start - * @param m the Mailbox on which the service will operate */ private void startServiceThread(AbstractSyncService service) { final Mailbox mailbox = service.mMailbox; @@ -1656,7 +1655,7 @@ public abstract class SyncManager extends Service implements Runnable { /** * Check whether an Outbox (referenced by a Cursor) has any messages that can be sent - * @param c the cursor to an Outbox + * @param outboxCursor the cursor to an Outbox * @return true if there is mail to be sent */ private boolean hasSendableMessages(Cursor outboxCursor) { -- cgit v1.2.3