Remove support for GIF attachments on API < 24.

This commit is contained in:
akwizgran
2019-12-11 17:48:51 +00:00
parent 1000512c5b
commit 1e2ccd96a7
5 changed files with 63 additions and 39 deletions

View File

@@ -19,15 +19,6 @@ public interface MessagingConstants {
*/
int MAX_CONTENT_TYPE_BYTES = 50;
/**
* The supported mime types for image attachments.
*/
String[] IMAGE_MIME_TYPES = {
"image/jpeg",
"image/png",
"image/gif",
};
/**
* The maximum allowed size of image attachments.
* TODO: Different limit for GIFs?