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:
parent
9c45527779
commit
6e0f74de93
@ -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.
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user