From 73018c31d6b8ea636f371025f1c26670437c1129 Mon Sep 17 00:00:00 2001 From: Marc Blank Date: Sat, 27 Jun 2009 17:21:44 -0700 Subject: [PATCH] Add new mailbox types for use by EAS --- src/com/android/email/provider/EmailContent.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/com/android/email/provider/EmailContent.java b/src/com/android/email/provider/EmailContent.java index 1136a0b19..b69809cfb 100644 --- a/src/com/android/email/provider/EmailContent.java +++ b/src/com/android/email/provider/EmailContent.java @@ -1657,6 +1657,12 @@ public abstract class EmailContent { // Holds junk mail public static final int TYPE_JUNK = 7; + // Types after this are used for non-mail mailboxes (as in EAS) + public static final int TYPE_INVISIBLE = 0x40; + public static final int TYPE_CALENDAR = 0x41; + public static final int TYPE_CONTACTS = 0x42; + public static final int TYPE_TASKS = 0x43; + // Bit field flags public static final int FLAG_HAS_CHILDREN = 1<<0; public static final int FLAG_CHILDREN_VISIBLE = 1<<1;