934b1f470a646a4ca64fc63eeb823d4c5c12698e |
|
09-Apr-2014 |
James Lemieux <jplemieux@google.com> |
Inline images are not displayed for IMAP and POP emails b/11998344 This solution covers these use cases: 1) Inline images in the Email app. 2) Inline images in .eml attachments in the Email and Gmail apps. The solution here was to override shouldInterceptRequest(...) in the WebViewClients and resolve any cid urls that are encountered within the email body. EmailProvider and EmlAttachmentProvider both gained the ability to query for an Attachment object using a message ID and cid (which is stored in the database column: contentId). With this new query in place, it was straightforward to fetch the Attachment in the WebViewClient and then obtain an InputStream to the file that backs the Attachment to return back to the WebView. Change-Id: I7c0e33e62d6cdbd6a2a3fc81e8621755bdbaf704
/packages/apps/UnifiedEmail/src/com/android/mail/providers/EmlAttachmentProvider.java
|
e307785b44deec1eb2aad5ecf83ea4b581779baa |
|
12-Dec-2013 |
Andrew Sapperstein <asapperstein@google.com> |
Hide inline attachments from message footer. b/5555553. Now skips all attachments with type != STANDARD in conversation view display. Also fixes b/11559781. Change-Id: I232e2d59e0605d3ab52ac382b2b96d85c72d4ad8
/packages/apps/UnifiedEmail/src/com/android/mail/providers/EmlAttachmentProvider.java
|
3b965d78774a42358ce6bbdcc43b4c8df130a60e |
|
25-Jun-2013 |
Scott Kennedy <skennedy@google.com> |
Clean up a bunch of warnings Bug: 9565838 Change-Id: Ie3a380581e81c63aaa0764875c55bfdccd5f2b13
/packages/apps/UnifiedEmail/src/com/android/mail/providers/EmlAttachmentProvider.java
|
1317896352698e41d2053d6f83175c181c6e39f0 |
|
24-Jun-2013 |
Andrew Sapperstein <asapperstein@google.com> |
Allow installing APKs from eml viewer. Fixes b/9528672. Need to change the content uri to a direct file uri so install will work. Change-Id: Iac9e17e45ecf5c9551e271dbde6cc3f18bf4f8ee
/packages/apps/UnifiedEmail/src/com/android/mail/providers/EmlAttachmentProvider.java
|
7434e800d4313a227120ca36bd95683752a7879f |
|
21-Jun-2013 |
Andrew Sapperstein <asapperstein@google.com> |
Attachments in eml files. It's kinda slow for large eml files (because we have to parse the entire file) but it works. Hooray. Fixes b/6393073. Change-Id: I2d7a87a484cd282a000a0905fe069f3ab45e2061
/packages/apps/UnifiedEmail/src/com/android/mail/providers/EmlAttachmentProvider.java
|