am 6e0f74de: Add a constant for push-only sync requests.

* commit '6e0f74de9304bfda7e31210142dec5813ce46f11':
  Add a constant for push-only sync requests.
This commit is contained in:
Yu Ping Hu 2013-06-27 17:03:04 -07:00 committed by Android Git Automerger
commit 7cb65a2a91
1 changed files with 5 additions and 1 deletions

View File

@ -38,9 +38,13 @@ public class Mailbox extends EmailContent implements MailboxColumns, Parcelable
*/
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;
/**
* 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.
*/