From 6e0f74de9304bfda7e31210142dec5813ce46f11 Mon Sep 17 00:00:00 2001 From: Yu Ping Hu Date: Thu, 27 Jun 2013 16:55:56 -0700 Subject: [PATCH] Add a constant for push-only sync requests. This will be used in Exchange, but the constant belongs here. Change-Id: I5be3bae75ccaa0562230252226375b25028dfb76 --- .../src/com/android/emailcommon/provider/Mailbox.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/emailcommon/src/com/android/emailcommon/provider/Mailbox.java b/emailcommon/src/com/android/emailcommon/provider/Mailbox.java index df942f8c3..f63bbe51c 100644 --- a/emailcommon/src/com/android/emailcommon/provider/Mailbox.java +++ b/emailcommon/src/com/android/emailcommon/provider/Mailbox.java @@ -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. */