Add mimetype to account, widget intents.
That way it is possible to distinguish between email2 and gmail2.
Change-Id: I495fcd24f684e0b935434b1a0628a9eb3bd9c834
diff --git a/src/com/android/mail/providers/UIProvider.java b/src/com/android/mail/providers/UIProvider.java
index dec32f9..b130c3d 100644
--- a/src/com/android/mail/providers/UIProvider.java
+++ b/src/com/android/mail/providers/UIProvider.java
@@ -94,7 +94,8 @@
AccountColumns.SETTINGS_QUERY_URI,
AccountColumns.SYNC_STATUS,
AccountColumns.HELP_INTENT_URI,
- AccountColumns.COMPOSE_URI
+ AccountColumns.COMPOSE_URI,
+ AccountColumns.MIME_TYPE
};
public static final int ACCOUNT_ID_COLUMN = 0;
@@ -114,6 +115,7 @@
public static final int ACCOUNT_SYNC_STATUS_COLUMN = 14;
public static final int ACCOUNT_HELP_INTENT_URI_COLUMN = 15;
public static final int ACCOUNT_COMPOSE_INTENT_URI_COLUMN = 16;
+ public static final int ACCOUNT_MIME_TYPE_COLUMN = 17;
public static final class AccountCapabilities {
/**
@@ -301,6 +303,10 @@
* of account to be shown.
*/
public static final String COMPOSE_URI = "composeUri";
+ /**
+ * Mime-type defining this account.
+ */
+ public static final String MIME_TYPE = "mimeType";
}
// We define a "folder" as anything that contains a list of conversations.