summaryrefslogtreecommitdiffstats
path: root/src/com/android/exchange/Eas.java
diff options
context:
space:
mode:
authorMarc Blank <mblank@google.com>2009-07-17 16:29:35 -0700
committerMarc Blank <mblank@google.com>2009-07-18 23:31:39 -0700
commit00d91b2e12d65df06916afdc4bebca67fd27214c (patch)
tree45dfb48105504b9454158321f541e07b3b6d2b3b /src/com/android/exchange/Eas.java
parent392971282488b1c5a298b056e38bba148ee294c9 (diff)
downloadandroid_packages_apps_Exchange-00d91b2e12d65df06916afdc4bebca67fd27214c.tar.gz
android_packages_apps_Exchange-00d91b2e12d65df06916afdc4bebca67fd27214c.tar.bz2
android_packages_apps_Exchange-00d91b2e12d65df06916afdc4bebca67fd27214c.zip
Changes to EAS: attachments, HTML text, and sending mail (without atts)
* Added HTML support for Exchange 2007 and later * Modified MessageView to show HTML parts of body (if present) * Replace some unused convenience methods in Body to be ones that are more useful (i.e. retrive body for a given message id) * Made EAS sending operational * Updated SyncManager to recognize the creation of new messages and check for work to be done (i.e. starting Outbox sync) * Modified MessageView to remove EmailContent.X references * Also changed the pattern EmailContent.getContent(cursor, class) to the better new ClassName().restore(cursor) * Add a test of the utility to determine mime type from file name (since EAS doesn't provide this with attachment header information) * Fixed bug in ProviderTestUtils in which the base (EmailContent) fields weren't being checked for equality in the various subclass equality testers. Fixed a bug in saving emails that was caught by fixing this bug.
Diffstat (limited to 'src/com/android/exchange/Eas.java')
-rw-r--r--src/com/android/exchange/Eas.java22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/com/android/exchange/Eas.java b/src/com/android/exchange/Eas.java
index 03828911..dc23195e 100644
--- a/src/com/android/exchange/Eas.java
+++ b/src/com/android/exchange/Eas.java
@@ -44,18 +44,18 @@ public class Eas {
// 6 3 months ago No Yes
// 7 6 months ago No Yes
- static final String FILTER_ALL = "0";
- static final String FILTER_1_DAY = "1";
- static final String FILTER_3_DAYS = "2";
- static final String FILTER_1_WEEK = "3";
- static final String FILTER_2_WEEKS = "4";
- static final String FILTER_1_MONTH = "5";
- static final String FILTER_3_MONTHS = "6";
- static final String FILTER_6_MONTHS = "7";
- static final String BODY_PREFERENCE_TEXT = "1";
- static final String BODY_PREFERENCE_HTML = "2";
+ public static final String FILTER_ALL = "0";
+ public static final String FILTER_1_DAY = "1";
+ public static final String FILTER_3_DAYS = "2";
+ public static final String FILTER_1_WEEK = "3";
+ public static final String FILTER_2_WEEKS = "4";
+ public static final String FILTER_1_MONTH = "5";
+ public static final String FILTER_3_MONTHS = "6";
+ public static final String FILTER_6_MONTHS = "7";
+ public static final String BODY_PREFERENCE_TEXT = "1";
+ public static final String BODY_PREFERENCE_HTML = "2";
- static final String DEFAULT_BODY_TRUNCATION_SIZE = "50000";
+ public static final String DEFAULT_BODY_TRUNCATION_SIZE = "50000";
public static final int FOLDER_STATUS_OK = 1;
public static final int FOLDER_STATUS_INVALID_KEY = 9;