Go to file
Todd Kennedy 39121c758d Fix display of inline images
Inline images can be specified in two different ways -- explicitly with a
Content-Disposition of "inline" or implicitly with no Content-Disposition.
We correctly handled the former. For the later, we now default to an "inline"
disposition if one was not specified. This is acceptable per RFC 822 which
states:

     Content-Disposition is an optional header field. In its absence,
     the MUA may use whatever presentation method it deems suitable.

Additionally, if the disposition is not specified by the server, we need to
look at the Content-Type header for the file name.

bug 2824698

Change-Id: I146f7a67197b4e737e5f82a3d570e0f74e23fa35
2011-03-08 07:53:56 -08:00
assets Remove empty.html, which isn't used any more. 2010-12-22 11:59:31 -08:00
docs auto import from //depot/cupcake/@135843 2009-03-03 19:32:22 -08:00
emailcommon Fix display of inline images 2011-03-08 07:53:56 -08:00
images auto import from //depot/cupcake/@135843 2009-03-03 19:32:22 -08:00
res Implement UI tweaks 2011-03-07 18:18:30 -08:00
src/com Implement UI tweaks 2011-03-07 18:18:30 -08:00
tests Fix display of inline images 2011-03-08 07:53:56 -08:00
.classpath Initial Contribution 2008-10-21 07:00:00 -07:00
.project Initial Contribution 2008-10-21 07:00:00 -07:00
Android.mk Split out emailcommon/Android.mk 2011-03-01 15:56:27 -08:00
AndroidManifest.xml Email split, part dix 2011-02-25 10:46:16 -08:00
CleanSpec.mk Split out emailcommon/Android.mk 2011-03-01 15:56:27 -08:00
MODULE_LICENSE_APACHE2 auto import from //depot/cupcake/@135843 2009-03-03 19:32:22 -08:00
NOTICE auto import from //depot/cupcake/@135843 2009-03-03 19:32:22 -08:00
proguard.flags DO NOT MERGE Add original HTML message to forward/reply 2011-03-03 15:27:09 -08:00
remove-exchange-support.sh remove-exchange-support.sh supports MacOS 2011-01-28 13:39:39 -08:00