History log of /packages/apps/Email/emailcommon/src/com/android/emailcommon/internet/Rfc822Output.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
4aec413a1e7c0269605ee744896c3bdb98463529 29-Apr-2014 Tony Mantler <nicoya@google.com> Warnings and Finals

Change-Id: I47f29c16c066eb077c64ef8c89e91df88d15caf0
/packages/apps/Email/emailcommon/src/com/android/emailcommon/internet/Rfc822Output.java
dc6bb6aa417bae9572ed3e1fb85a50f2ee315d90 22-Apr-2014 Anthony Lee <anthonylee@google.com> b/14075613. Treat empty strings the same as null strings.

Found this issue when addressing the root problem for this bug and testing
with various mixes of text and html content in emails.

Change-Id: I875fd9fac85b07484c27db383e3ac4a3cb935ee6
/packages/apps/Email/emailcommon/src/com/android/emailcommon/internet/Rfc822Output.java
1fa303478c61e0d703011996e358037eef523176 23-Jan-2014 James Lemieux <jplemieux@google.com> Eliminate redundant methods in Address class

THIS DOES NOT CHANGE ANY EXISTING FUNCTIONALITY.

Address.pack() has been removed and all calls replaced with its synonym Address.toHeader().
Address.unpack() has been renamed to Address.fromHeader() to follow the new naming convention.

In days of yore, pack() and toHeader() used to do different things. Now they are identical and
thus one is superfluous. We have standardized on toHeader() and fromHeader().

Change-Id: Iac91c966eb6c1477f8dba0dd2ae01c84b359e539
/packages/apps/Email/emailcommon/src/com/android/emailcommon/internet/Rfc822Output.java
cde694c5e185ef1af5a5f5be94c6663be6ad1c6e 13-Nov-2013 Alon Albert <aalbert@google.com> Check for ArrayIndexOutOfBoundsException

Quoted text pos may be out of bounds of message body.
This may be caused by the pos being calculated in html while the message is being
sent as plain text. A seperate CL will attempt to address the root cause. This
is a last resort so we don't crash.

Bug: 11538910
Change-Id: I326ebe56ee15368983caa2fa76605e7658dab014
/packages/apps/Email/emailcommon/src/com/android/emailcommon/internet/Rfc822Output.java
1b8e0fa23f6e9957f0b8753dd3f5b95d3f5d98ea 26-Jun-2013 Scott Kennedy <skennedy@google.com> Clean up a bunch of warnings

Bug: 9565838
Change-Id: I5e95562bbf463f057cbcc4a9884427a774473b45
/packages/apps/Email/emailcommon/src/com/android/emailcommon/internet/Rfc822Output.java
7c3f85885c767b58eaa4dbbc8e8339bd567b73eb 09-May-2013 Yu Ping Hu <yph@google.com> Changes to support cleaving sync out of ExchangeService.

Change-Id: Idbfff4ddc8fca4829228d04816d40a4ab9639382
/packages/apps/Email/emailcommon/src/com/android/emailcommon/internet/Rfc822Output.java
5a3aebbd2dd8cdd4d7c1a76ce3085cd6a314c0d0 22-Mar-2013 Paul Westbrook <pwestbro@google.com> Fix problem with sending attachments in Exchange

The problem was that when the attachment was attempted to be opened
from the Exchange process, it didn't have access to the cached file.
Instead, use a content provider uri to reference the cached file.

Bug: 8400456

Change-Id: I80abd66642e938cf09f73bf0e9bd049aa8d7ba1d
/packages/apps/Email/emailcommon/src/com/android/emailcommon/internet/Rfc822Output.java
9a95253846ccc7a94dd7d4c618ec2d808e2a4000 23-Feb-2013 Paul Westbrook <pwestbro@google.com> Cache attachments on send

Cache attachments in a email directory when sending to allow sending
to succeed when the content provider has a permission

Bug: 7381557
Change-Id: Icf9faead2048de237228625f998b42feade48978
/packages/apps/Email/emailcommon/src/com/android/emailcommon/internet/Rfc822Output.java
6e5bccf2c984039da5ae1dc08cffa665b73b6474 08-Sep-2012 Marc Blank <mblank@google.com> Use correct attachment provider authority

* Make sure new code works with old Attachment rows

Bug: 7130972
Change-Id: Ia5d258930f39266517eead535a92bb4380fdb594
/packages/apps/Email/emailcommon/src/com/android/emailcommon/internet/Rfc822Output.java
77d166b8d1a12b898186d6f1c654e077c13301cb 20-Aug-2012 Marc Blank <mblank@google.com> Allow writeTo to accept a list of attachments to send

* The default is to send all attachments, of course, but with
smartSend, we need to exclude the original ones or they will
be duplicated
* Another CL in Exchange is required to fix the bug

Bug: 7005505
Change-Id: I0e8bab2fb53dd4d60c82f2ef9a525ff7b015f2eb
/packages/apps/Email/emailcommon/src/com/android/emailcommon/internet/Rfc822Output.java
f419287f22ae44f25e1ba1f757ec33c7941bbfa8 28-Jun-2012 Marc Blank <mblank@google.com> DO NOT MERGE: Move emailcommon2 sources to emailcommon

Change-Id: I06df7e467cd2e0117df8b8db3ddc6ff9da13f1c7
/packages/apps/Email/emailcommon/src/com/android/emailcommon/internet/Rfc822Output.java
09a071a87938e0c1ed80962d54b6025618dca120 26-May-2011 Marc Blank <mblank@google.com> Don't use multipart/alternative for SmartReply/Forward text

* When confirmed fixed, this should be backported to MR2/MR2

Bug: 4490341
Change-Id: Ie99047b465ed7087e6e0100f7d517ac3fb6b803c
/packages/apps/Email/emailcommon/src/com/android/emailcommon/internet/Rfc822Output.java
de70ee5f7868ede7a738fbeb8ba9f9fe3558aefb 25-Mar-2011 Todd Kennedy <toddke@google.com> Don't duplicate HTML in reply / forward

On exchange servers that support "smart reply", the original message is
actually appended by the server. In this situation, we should not append
the original HTML text on the client.

but 4177192

Change-Id: I6fad74ac761e2abfe7cb0f536df4db30f7d5ca9a
/packages/apps/Email/emailcommon/src/com/android/emailcommon/internet/Rfc822Output.java
9cc51b72c6902b95f65857af64eb38063aa4a42b 01-Mar-2011 Todd Kennedy <toddke@google.com> Attach original HTML message on forward/reply

When replying or fowarding an HTML message, we now send both plain text and
HTML bodies as a multi-part mime message. We take special care to ensure the
message bodies are in their own multi-part block and do not interfere with
any additional attachments to the message.

bug 3060920

Change-Id: I2fc3cb4e1f65bcc28486a62731b44b0ee0a99719
/packages/apps/Email/emailcommon/src/com/android/emailcommon/internet/Rfc822Output.java
37f3385803de19d4b6fb4ef1b1ac9a6196dec98c 02-Mar-2011 Ying Wang <wangying@google.com> Split out emailcommon/Android.mk

Change-Id: I846ee2a4b541f4709e647aa537c61549db2bec2e
/packages/apps/Email/emailcommon/src/com/android/emailcommon/internet/Rfc822Output.java
a07f2ae0b18964aa15e218e8b6be8be24e5c9f46 01-Mar-2011 Ying Wang <wangying@google.com> Revert "Split out emailcommon/Android.mk"

This reverts commit c28bf353190eb576072a8fd2f98821424144876e.
/packages/apps/Email/emailcommon/src/com/android/emailcommon/internet/Rfc822Output.java
7c87bfc33aaf94e50e4be9ff0b838e4b3a3812f4 01-Mar-2011 Todd Kennedy <toddke@google.com> Change "appendQuotedText" to "useSmartReply" in Rfc822Output

Slight API change to make it more clear what the method parameter is for.
Also add some additonal test conditions to the Rfc822Output tests.

Reapply changes in CL https://android-git.corp.google.com/g/#change,99090

Change-Id: I7a48c9544e48cbdf44b14f4b1f8d92fe01f7861e
/packages/apps/Email/emailcommon/src/com/android/emailcommon/internet/Rfc822Output.java
c28bf353190eb576072a8fd2f98821424144876e 01-Mar-2011 Ying Wang <wangying@google.com> Split out emailcommon/Android.mk

Change-Id: I90653e8601ee3ee6a8719d87ffb93222a11a22c0
/packages/apps/Email/emailcommon/src/com/android/emailcommon/internet/Rfc822Output.java