Add attachment selection to compose.
Change-Id: I8413d90772f225465cea3af3ffd8fca10dbb4f75
diff --git a/src/com/android/email/providers/UIProvider.java b/src/com/android/email/providers/UIProvider.java
index 7d408a0..632de1a 100644
--- a/src/com/android/email/providers/UIProvider.java
+++ b/src/com/android/email/providers/UIProvider.java
@@ -387,4 +387,14 @@
public static final String CONTENT_TYPE = "contentType";
public static final String SYNCED = "synced";
}
+
+ public static int getMailMaxAttachmentSize(String account) {
+ // TODO: query the account to see what the max attachment size is?
+ return 5 * 1024 * 1024;
+ }
+
+ public static String getAttachmentTypeSetting() {
+ // TODO: query the account to see what kinds of attachments it supports?
+ return "com.google.android.gm.allowAddAnyAttachment";
+ }
}