Support for "always show images" from sender
Change-Id: I1e23af65d28d40c731f91f4bce3bf19a06d34fc8
diff --git a/src/com/android/mail/providers/UIProvider.java b/src/com/android/mail/providers/UIProvider.java
index a51b8a9..6767686 100644
--- a/src/com/android/mail/providers/UIProvider.java
+++ b/src/com/android/mail/providers/UIProvider.java
@@ -623,7 +623,8 @@
MessageColumns.MESSAGE_FLAGS,
MessageColumns.JOINED_ATTACHMENT_INFOS,
MessageColumns.SAVE_MESSAGE_URI,
- MessageColumns.SEND_MESSAGE_URI
+ MessageColumns.SEND_MESSAGE_URI,
+ MessageColumns.ALWAYS_SHOW_IMAGES
};
/** Separates attachment info parts in strings in a message. */
@@ -657,6 +658,7 @@
public static final int MESSAGE_JOINED_ATTACHMENT_INFOS_COLUMN = 21;
public static final int MESSAGE_SAVE_URI_COLUMN = 22;
public static final int MESSAGE_SEND_URI_COLUMN = 23;
+ public static final int ALWAYS_SHOW_IMAGES_COLUMN = 24;
public static final class MessageFlags {
public static final int STARRED = 1 << 0;
@@ -765,6 +767,14 @@
*/
public static final String SEND_MESSAGE_URI = "sendMessageUri";
+ /**
+ * This integer column represents whether the user has specified that images should always
+ * be shown. The value of "1" indicates that the user has specified that images should be
+ * shown, while the value of "0" indicates that the user should be prompted before loading
+ * any external images.
+ */
+ public static final String ALWAYS_SHOW_IMAGES = "alwaysShowImages";
+
private MessageColumns() {}
}