Add a constant for push-only sync requests.

This will be used in Exchange, but the constant belongs here.

Change-Id: I5be3bae75ccaa0562230252226375b25028dfb76
This commit is contained in:
Yu Ping Hu 2013-06-27 16:55:56 -07:00
parent 9c45527779
commit 6e0f74de93

View File

@ -38,9 +38,13 @@ public class Mailbox extends EmailContent implements MailboxColumns, Parcelable
*/ */
public static final String SYNC_EXTRA_MAILBOX_ID = "__mailboxId__"; public static final String SYNC_EXTRA_MAILBOX_ID = "__mailboxId__";
/** /**
* Value for {@link #SYNC_EXTRA_MAILBOX_ID} when requesting an account only sync * Value for {@link #SYNC_EXTRA_MAILBOX_ID} when requesting an account only sync.
*/ */
public static final long SYNC_EXTRA_MAILBOX_ID_ACCOUNT_ONLY = -2; public static final long SYNC_EXTRA_MAILBOX_ID_ACCOUNT_ONLY = -2;
/**
* Value for {@link #SYNC_EXTRA_MAILBOX_ID} when (re)starting push.
*/
public static final long SYNC_EXTRA_MAILBOX_ID_PUSH_ONLY = -3;
/** /**
* Sync extras key when syncing a mailbox to specify how many additional messages to sync. * Sync extras key when syncing a mailbox to specify how many additional messages to sync.
*/ */