summaryrefslogtreecommitdiffstats
path: root/src/com/android/mail/providers/UIProvider.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/android/mail/providers/UIProvider.java')
-rw-r--r--src/com/android/mail/providers/UIProvider.java11
1 files changed, 8 insertions, 3 deletions
diff --git a/src/com/android/mail/providers/UIProvider.java b/src/com/android/mail/providers/UIProvider.java
index 71c27518f..cb2302a27 100644
--- a/src/com/android/mail/providers/UIProvider.java
+++ b/src/com/android/mail/providers/UIProvider.java
@@ -1907,7 +1907,8 @@ public class UIProvider {
AttachmentColumns.PROVIDER_DATA,
AttachmentColumns.SUPPORTS_DOWNLOAD_AGAIN,
AttachmentColumns.TYPE,
- AttachmentColumns.FLAGS
+ AttachmentColumns.FLAGS,
+ AttachmentColumns.CONTENT_ID
};
public static final int ATTACHMENT_NAME_COLUMN = 0;
public static final int ATTACHMENT_SIZE_COLUMN = 1;
@@ -1922,6 +1923,7 @@ public class UIProvider {
public static final int ATTACHMENT_SUPPORTS_DOWNLOAD_AGAIN_COLUMN = 10;
public static final int ATTACHMENT_TYPE_COLUMN = 11;
public static final int ATTACHMENT_FLAGS_COLUMN = 12;
+ public static final int ATTACHMENT_CONTENT_ID_COLUMN = 13;
/** Separates attachment info parts in strings in the database. */
public static final String ATTACHMENT_INFO_SEPARATOR = "\n"; // use to join
@@ -2085,7 +2087,6 @@ public class UIProvider {
* This column contains provider-specific private data as JSON string.
*/
public static final String PROVIDER_DATA = "providerData";
-
/**
* This column represents whether this attachment supports the ability to be downloaded
* again.
@@ -2096,11 +2097,15 @@ public class UIProvider {
* {@link AttachmentType} constants.
*/
public static final String TYPE = "type";
-
/**
* This column holds various bitwise flags for status information.
*/
public static final String FLAGS = "flags";
+ /**
+ * The column saved (internal) contentId of the attachment
+ * (inline attachments will have these)
+ */
+ public static final String CONTENT_ID = "contentId";
private AttachmentColumns() {}
}