History log of /packages/apps/UnifiedEmail/src/com/android/mail/providers/Attachment.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
6b802e8d33c6230907dc0fd0353a808f8e8f5f16 05-Dec-2016 Tomasz Mikolajewski <mtomasz@google.com> Add basic support for virtual files to Email.

It's basic support which allows users to attach virtual files
in the first provided streamable format, usually PDF.

Bug: 33609522
Test: Tested manually by attaching a sheets document.
Change-Id: Ie75beaadb822c1e97e47c0972447114387e203e5
/packages/apps/UnifiedEmail/src/com/android/mail/providers/Attachment.java
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/Attachment.java
865ae9ca2606d901ce33259bae5cfe71beaa18ba 11-Feb-2014 Andrew Sapperstein <asapperstein@google.com> Hide inline attachments in compose. b/12553195.

Just hides the attachments visually. They still
exist and are counted against the max attachments
size.

Change-Id: Ia8c026fa083c3a95b7bc22b1564349d455f0030a
/packages/apps/UnifiedEmail/src/com/android/mail/providers/Attachment.java
07005a9831a20d28ce23417803689ab8c157ed67 01-Oct-2013 Andrew Sapperstein <asapperstein@google.com> Removed Mimetype.isBlocked and all usages.

Fixes b/11016967.

Change-Id: Ic85b89c3c82a39c511cedb0f938ed9286a1470af
/packages/apps/UnifiedEmail/src/com/android/mail/providers/Attachment.java
519c218db6109003ca72a35ffe276ed69b0230a4 21-Sep-2013 Martin Hibdon <mhibdon@google.com> Improve display of attachments in pop

b/10714298
Prior to this CL, attachments that had not yet
been downloaded for POP would appear as "text/plain",
regardless of what type they really were. Also, the
filename displayed about always be a non localized
string like "click here to download".
Now, attachments in this state are flagged as dummy
attachments, so when we display them, we display a
localized instruction for how to download, and hide
the mime type (because we don't yet know it.)
Also, when we download, we will not automatically
try to launch a viewer for these kinds of attachments.
We'll just download them, and replace the old dummy
attachment with a valid one.
There is still a bug that even though the dummy
attachment has been removed from the database, we
still display that tile until the user leaves and
reenters the screen. That's ugly but not so broken
as it was before.

Change-Id: I1021baae659ca2d9ee2909f78b414c271d8ca90b
/packages/apps/UnifiedEmail/src/com/android/mail/providers/Attachment.java
df5eb13a49f285e9c537cac5e4791d7526d38533 15-Aug-2013 Mark Wei <markwei@google.com> Merge "Add visibility type attributes to attachments." into jb-ub-mail-ur10
beaf1e4d14f89e7735ba94a0b2ff92233c6f928f 06-Aug-2013 Mark Wei <markwei@google.com> Add visibility type attributes to attachments.

Don't show attachment preview for inline attachments referenced in elided quoted
text.

The server is not yet reporting hidden and inline attributes. Once that info
gets filled in, this will start working properly.

Add Gservices flag to ignore the server's reported visiblity type if necessary.

Bug: 10081360
Change-Id: I3244ac16166f3a74dd5597c9d0b0ae20d66bf91c
/packages/apps/UnifiedEmail/src/com/android/mail/providers/Attachment.java
1e46bacc28f8cad65377559c1dfc089443498e8d 14-Aug-2013 Paul Westbrook <pwestbro@google.com> Fix NPE

Bug: 10294251
Change-Id: I8c8c5dc7b2f43596e63729c65762802e35323429
/packages/apps/UnifiedEmail/src/com/android/mail/providers/Attachment.java
74db99555be46ccf44691805c359839268326d2e 30-Jul-2013 Andy Huang <ath@google.com> (re)add rendition support to attachment previews

Create new FAILURE state, which is also used when no renditions are
available. In this state, only a static placeholder appears.
Fix state transitions into failure state not clearing pulse animation.
Transitions from thumbnail->full rendition are special cased to not
cause transition effects.

Bug: 9566006
Change-Id: I0b833960a8839b1b6945c3c1fb749eedb14b6157
/packages/apps/UnifiedEmail/src/com/android/mail/providers/Attachment.java
479505d71969e26b0785d8e0e1b81108731cf827 21-Mar-2013 Mark Wei <markwei@google.com> Attachments in Conversation List: Backend changes so that the appropriate
attachments are passed to the UI. Implement PhotoManager so we can start showing
images.

Upon sync, we extract two image attachments from the first unread message, and
add them to the conversations table.

UI changes as well.

Load BEST if that is available, else load SIMPLE.
No vertical dividers in attachment previews.
Attachment previews are above labels.
Round badge appears for unread conversations when there are more images than
shown. Only appears after the previews have loaded.
Clicking on the attachment previews launches photoviewer.
Attempt to load bigger images than necessary to prevent reloading during mark
read/unread and rotate.
Show animated loading icon while previews are loading.
Previews load from top to bottom, from left to right.

Big performance improvements:
No longer decoding bitmap on UI thread. This kills most of the jank.
Only load when we are not scrolling. This kills a lot of jank.
Remaining jank will be delt with later:
DividedImageCanvas.setDimensions() creates a huge empty bitmap on the UI
thread, which causes a GC. ath will fix.

Multiple images in one line now load whatever's ready first. Added tracing.
Bitmap cache given more memory.
Following ath's advice, decode Bitmap from InputStream rather than byte[]. Don't
compress into BitmapHolder. Only use the bigger Bitmap cache.

Bug: 7481049
Change-Id: Icf823f56abc9345e6d0b800a1e6d45444d8fa028
/packages/apps/UnifiedEmail/src/com/android/mail/providers/Attachment.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/Attachment.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/Attachment.java
c30808f28ba0a85ed8495a5e840e137306d2a0f0 06-Apr-2013 Mark Wei <markwei@google.com> Don't allow save for blocked mime types.

Bug: 8488318
Change-Id: I477b05d53aede0af988d42d154952e8b256e2c32
/packages/apps/UnifiedEmail/src/com/android/mail/providers/Attachment.java
7df813e56ba3a8620e934bd462527a2467fcae52 12-Mar-2013 Mark Wei <markwei@google.com> Fix bug where constructing message attachment uri with null/empty partId will
remove the trailing backslash, causing the uri to not match the expected
pattern.

Added more logging so we can fix the underlying problem if it happens again.

Bug: 8070022
Change-Id: I783763519bf415a9d06710f6d11ae6f05a3ea7a8
/packages/apps/UnifiedEmail/src/com/android/mail/providers/Attachment.java
8117871e95e8b5657e1588c8012d3edfc0204121 01-Mar-2013 Mark Wei <markwei@google.com> Pretty-print attachments.

Change-Id: I564699193cb84d31bcdf30c216328b11495899d2

Conflicts:
src/com/android/mail/providers/Attachment.java
/packages/apps/UnifiedEmail/src/com/android/mail/providers/Attachment.java
de4de988e2cb2c44f8b668db2561691631ebd7f4 27-Feb-2013 Mark Wei <markwei@google.com> Fix GmailAttachment inflateFromProviderData() to not fail if some JSON fields
are not present.

Do not use cached attachments when constructing the sync parts and params. This
fixes the bug where adding a 2nd attachment to a draft would not be saved.

Bug: 8274071
Change-Id: Iad3e62d68f3baa077a7c07c42181594d06ede824
/packages/apps/UnifiedEmail/src/com/android/mail/providers/Attachment.java
8750066b10f80e2a8080016973b3296d76d18266 20-Feb-2013 Mark Wei <markwei@google.com> Set MIME type correctly on drafts when content provider does not provide it.

Bug: 8235172
Change-Id: I7bbccbecb7d038f3add4503be0dcf460a4864b2e
/packages/apps/UnifiedEmail/src/com/android/mail/providers/Attachment.java
bf3a5c5aa46759a238b3ca197b97bc4182cba8b6 15-Feb-2013 Mark Wei <markwei@google.com> Fix cannot install APKs in Gmail. Workaround puts file:// uri into contentUri so
the package manager can read the file.

Bug: 8194270
Change-Id: I7fc55dff0218f7686abdeeddccd0b963e224a63d
/packages/apps/UnifiedEmail/src/com/android/mail/providers/Attachment.java
10f8c4f1ca3619e761d4d1f874891f6d9259ac7b 12-Feb-2013 Mark Wei <markwei@google.com> Use getIdentifierUri() when comparing Attachment uris.

Bug: 7426699
Change-Id: I83514b4b01e311add414d326d0130a22eafbf19f
/packages/apps/UnifiedEmail/src/com/android/mail/providers/Attachment.java
3ca3bf8538bbabcaf9d86818e25c40f3a9d9b0c9 29-Jan-2013 Mark Wei <markwei@google.com> Fix crashes related to sending or forwarding attachments.

Attachment contentUri will always be a content:// uri, not the file path.
SERVER_ATTACHMENT will generally be under Gmail.AUTHORITY while LOCAL_FILE will
have a non-Gmail uri.

Attachments as part of a draft that becomes updated into a message are now
viewable. They will be a LOCAL_FILE that points to the non-Gmail contentUri of
the uploaded file. They will not attempt to be downloaded again. They will have
a fake partId and uri so that they can be viewed.

We make sure thumbnailUri and contentUri are always populated with the correct
default contentUri (for SERVER_ATTACHMENT).

The cachedFileUri is now also used for SERVER_ATTACHMENT. It points of the uri
of the downloaded file.

Bug: 8076816
Bug: 7960494
Change-Id: Ia73144886c6a730987bf6fe7b2326e6820f4e2f6
/packages/apps/UnifiedEmail/src/com/android/mail/providers/Attachment.java
7bed4bc31a49a2297a38eb9d7b595fba1fa1f849 23-Jan-2013 Mark Wei <markwei@google.com> Starts a pending download immediately when swiping to that image.

Add a new Attachment state, PAUSED, for when we've queued the attachment in the
DownloadManager, but it hasn't started yet.

Modified onViewActivated() so it would only get triggered once when you swipe to
that fragment.

Bug: 8023818
Change-Id: I8038b51d4750e333d9080e2277a745317a281e51
/packages/apps/UnifiedEmail/src/com/android/mail/providers/Attachment.java
0eb46cb4c18b91ee272caca7f62f4a15ec2668ef 17-Jan-2013 Mark Wei <markwei@google.com> Modify image attachments previews to conform to UX specs

Thumbnail and full image start loading at the same time.

Once thumbnail is shown, we display a determinate progress bar while downloading
the full image.

Remove progress bar from image tiles in ConversationView.

Bug: 8021747
Change-Id: I600a8bb8337dd7ee6e7cec2a1221824b04a9e2ef
/packages/apps/UnifiedEmail/src/com/android/mail/providers/Attachment.java
bbe74aee04f669990e888095b0d6858dc1e17ce1 19-Nov-2012 Mark Wei <markwei@google.com> Refactor Attachment code. Combined AttachmentStatusLoader.Result and
Gmail.Attachment into GmailAttachment.

Renamed UIAttachment to Attachment, which still follows the UIProvider contract.
GmailAttachment extends Attachment, and contains Gmail provider specific data.

The DownloadListener in AttachmentStatusLoader will modify the cached
GmailAttachments directly, where previously we would create new Results to give
to the ConversationState.

Cancelling an Attachment download will cancel both cache and external db
entries.

Attachment download dialog will close only if state is SAVED or FAILED. This
prevents a NOT_SAVED state update from closing the dialog prematurely.

Simplify AttachmentRequest. Simplify AttachmentStatusLoader to a listener.

Bug: 7538447
Bug: 7538152
Change-Id: If6362473697e6735f1858619c7af83238d75469e
/packages/apps/UnifiedEmail/src/com/android/mail/providers/Attachment.java
856200a2abc6a90711f6eb99fc0340dd75ef6e9b 10-Nov-2012 Mark Wei <markwei@google.com> Prevent message attachment bar's Overflow from disappearing when certain
conditions are met. Now the Overflow will appear as long as at least one action
is available.

Refactored Overflow code.

Bug: 7488930
Change-Id: I198211cfaa535861f53f52d04b0391968d6004da
/packages/apps/UnifiedEmail/src/com/android/mail/providers/Attachment.java
4f24bb48ab2c3e8fbda2af1e1d8fda79e8a458e7 27-Oct-2012 Andy Huang <ath@google.com> fix one case of duplicate attachment bars

Message attachment bars were either being updated or created
based on the attachment URI. The Gmail provider changes query
params on this URI, so for now, strip the query params before
doing equality checking in this one case.

Bug: 7419739
Change-Id: Ide64278325b31f8f60d38af89c9a8b153bb0a2eb
/packages/apps/UnifiedEmail/src/com/android/mail/providers/Attachment.java
b0f4a7da15313c9f1316ab72230bb44cc218ffd5 24-Oct-2012 Paul Westbrook <pwestbro@google.com> Add additional information to Attachment#toString()

Change-Id: I3660da33c335cb45b6cbd3c26f84d13cf3e26600
/packages/apps/UnifiedEmail/src/com/android/mail/providers/Attachment.java
d2f279ff7f4d257ff268b27be7379d4195354798 26-Sep-2012 Sara Ting <sarating@google.com> Fix possible NPE when sharing attachments.

Bug:7225162
Change-Id: I30255e70ced95f1fa20d2b0eecc6e809a83afe07
/packages/apps/UnifiedEmail/src/com/android/mail/providers/Attachment.java
8081df46ef5a7794374e41cd1836e778a2da9b31 11-Sep-2012 Paul Westbrook <pwestbro@google.com> Restore download progress dialog

Now the attachment download progress is using an DialogFragment
so the dialog correctly gets restored on orientation change

Bug: 7137689
Change-Id: I90a225f423bf75fd4dbeb464051374919a3cff62
/packages/apps/UnifiedEmail/src/com/android/mail/providers/Attachment.java
f467d10bb05a8df6ac3c8279f6fda24e89b87482 14-Aug-2012 Paul Westbrook <pwestbro@google.com> Several image attachment fixes

Make sure to use the default photo attachment image when an attachment
couldn't be loaded

Don't update the progress bar when only the action bar was meant to be
updated

Don't transition to indeterminate progress bar mode, when we had previously
determined the state.

Bug: 6956516
Change-Id: I086d27689693769fe88313593a46e9610fc1a74c
/packages/apps/UnifiedEmail/src/com/android/mail/providers/Attachment.java
d6318e56adadeff4106e9696b5330239175487b1 06-Aug-2012 Andrew Sapperstein <asapperstein@google.com> Refactored some of the preview code.

We now have a canPreview method in Attachment
that performs the PreviewIntentUri != null
action. Seeing it in multiple places was bothering me.

Change-Id: I3eedcffb8b5063985cf93ab86876e5170a99fbe0
/packages/apps/UnifiedEmail/src/com/android/mail/providers/Attachment.java
d49db8e3c4fff459f4ae3869ea80d083461eda2c 04-Aug-2012 Paul Westbrook <pwestbro@google.com> Fix preview for attachments

Bug: 6917483
Change-Id: Ie6f8c5b93c8f2046e71700435e69da6b241185b6
/packages/apps/UnifiedEmail/src/com/android/mail/providers/Attachment.java
14977bf661dd6dc4d2a2414d0839e628ebed4d50 27-Jul-2012 Andrew Sapperstein <asapperstein@google.com> Fixed visibility of action items.

Visibility of action items is now based on attachment state
more directly.

Change-Id: Ifc11df3688be57d0881aab00be62b65aa70223c5
/packages/apps/UnifiedEmail/src/com/android/mail/providers/Attachment.java
4cb51dbce9635f4bf68a6de88f759e2f86d20325 21-Jul-2012 Andrew Sapperstein <asapperstein@google.com> Image attachments open photo viewer immediately.

Instead of downloading the first image and waiting for
that operation to complete before entering the photo viewer,
we now kick off the downloads for all photos that are not
currently on device. The photo viewer shows download progress
and also shows the photos once the download has completed.

Change-Id: Ib9561b45020bbab1ffbcec9e88aab9604036fd5a
/packages/apps/UnifiedEmail/src/com/android/mail/providers/Attachment.java
3cd4f40dab2c0810cb5ecd77256abf022863b2b5 17-Jul-2012 Mindy Pereira <mindyp@google.com> Allow providers to supply max attachment(s) size for new messages

Also, general cleanup around attachment exceptipons.
Moved showing the error toasts to the composeactivity.
Change-Id: Icd829146b60ed5656bed0d6d570fafbf5d0956fd
/packages/apps/UnifiedEmail/src/com/android/mail/providers/Attachment.java
b334c9035e9b7a38766bb66c29da2208525d1e11 25-Jun-2012 Paul Westbrook <pwestbro@google.com> Changes to support different Log tags

Change-Id: I7121fbf7132444fc0f5c0c130373e3f2d1a3cf7a
/packages/apps/UnifiedEmail/src/com/android/mail/providers/Attachment.java
4c7d8b5f38bfa80192d457025b834c975d7d38a3 12-Jun-2012 Andrew Sapperstein <asapperstein@google.com> UI improvements to photo viewer.

Photo viewer now shows the display name of the
image. Additionally, it now has a subtitle that
contains the current number of that attachment.

Additionally, the implementation in Unified utilizes
a derived class of PhotoViewActivity that tweaks
the subtitle to display image size and adds action
items. Currently the items are visible but do not do
anything. Next commit will wire these up.

As part of refactoring to make the derived classing work
properly, a bunch of legacy code was deleted including
all of BaseFragmentActivity as its sole reason remaining
was for spoofing the ActionBar.

Finally, a small change to the cancel attachment button
was made so that it was appropriately selectable and
48dip by 48dip.

Change-Id: I5a50bd420fa23a3e7d8734b5a46a6f28198ccef4
/packages/apps/UnifiedEmail/src/com/android/mail/providers/Attachment.java
d0991f7f0d0882ac58dfdb1f8eb8e2a0abd573fc 17-May-2012 Andy Huang <ath@google.com> move image decode into background thread

Fixes strict mode violations. Now it also handles arbitrarily
large full-size images, which is all EAS/IMAP may offer.

Use contentUri when thumbnailUri is not populated (as is the
case with EAS/IMAP).

Bug: 6195064
Bug: 6389109
Change-Id: Ifcc2062d35e77c0fca4e6a568488ab556ba0da08
/packages/apps/UnifiedEmail/src/com/android/mail/providers/Attachment.java
5c5fd571b40a15b95ea5a5d6033f377706ffd0fb 09-Apr-2012 Andy Huang <ath@google.com> compose attachment refactor

This is step 1 to modernize attachment handling in Compose.
This CL tries to have Compose view deal in Attachment objects
rather than the raw pieces like URI/name/size. For those cases
where the raw pieces are all we have (e.g. incoming intent),
AttachmentsView.generateAttachment() is now a single place for
this work.

When loading a saved draft or forwarding a message with
attachments, since those Messages already have fully populated
Attachment data available via getAttachments(), use that.

Mark various Gmail-style joinedString representation variables
and methods deprecated in favor of passing JSON in
ContentValues when necessary. The next step is to beef up the
supported fields in the attachment JSON and have send/save pass
JSON and have providers read JSON.

Bug: 6305925
Change-Id: Ie8fb9ce27d71a10a6ea8ae431b78e61ffe5933e2

Conflicts:

src/com/android/mail/compose/AttachmentsView.java
src/com/android/mail/compose/ComposeActivity.java
/packages/apps/UnifiedEmail/src/com/android/mail/providers/Attachment.java
dbe8996d8ba382bfe1a23894abbc4711e36c9dae 13-Apr-2012 Mindy Pereira <mindyp@google.com> Use TextUtils.split isntead of split.

Fixes bad behavior where if a string between the split pattern is empty
it skips over that entry. TextUtils puts an empty string there (which is what
we really want)

Change-Id: I9d39547351bb09b70c13cb4e984afb1c0ab3282f
/packages/apps/UnifiedEmail/src/com/android/mail/providers/Attachment.java
5e1a5b7a9d694ff812e65f4b1240366252cdcde7 12-Apr-2012 Paul Westbrook <pwestbro@google.com> Fix error when sending attachments

This fixes Gmail's caching attachments when sending

Bug: 6324561
Change-Id: Icc038d46063f486518b4858a2d0670795bbf332a
/packages/apps/UnifiedEmail/src/com/android/mail/providers/Attachment.java
5a9290731bf565538a9cf91892346c7a6f4da0ec 24-Mar-2012 Andy Huang <ath@google.com> Add bits of Attachment info to message cursor results

Ultimately, message view needs more information about how many
attachments a message has and what sort of files they are to
render UI upfront and allocate space in the HTML for them.

I'm adding a new field in Message cursors to contain this basic
attachment info as a JSON array. Soon we can expand the format
to be useful to compose, and can deprecate
'joinedAttachmentInfos'.

Change-Id: I9c264a6f09b376f5ee9b9f56e11fa80dc5faec56
/packages/apps/UnifiedEmail/src/com/android/mail/providers/Attachment.java
c6663c4f87b458aefef3213599ddea65e87ae223 20-Mar-2012 Andy Huang <ath@google.com> don't hide save button for attachments in cache

Change-Id: If194691dbae11941188b2ed66a8e115cd7e87706
/packages/apps/UnifiedEmail/src/com/android/mail/providers/Attachment.java
ac57b84f62110b1897176807ef1a02bd11675e71 15-Mar-2012 Mindy Pereira <mindyp@google.com> More null checks for attachments.

Change-Id: Ib9e545793e44a822bf8c746ada6b27decc6323d7
/packages/apps/UnifiedEmail/src/com/android/mail/providers/Attachment.java
1eb5f96d4e9c459d463d664563c755ec36f958f7 10-Mar-2012 Andy Huang <ath@google.com> cross-project refactoring

Attachment.mimeType -> contentType
Attachment.contentUri(String) -> contentUri(Uri)

Change-Id: I333453943914c241c63f9ec0a3824150e52706fd
/packages/apps/UnifiedEmail/src/com/android/mail/providers/Attachment.java
88fc42e48ee4e927eb77e5cab23f2f5151cac649 09-Mar-2012 Andy Huang <ath@google.com> attachment UI in conversation view

Load from a message's attachment list URI to render initial
attachment views. Each attachment view then monitors its own
URI for changes when it expects them (this is quite likely
too granular!).

Change-Id: Ie559672e63910034e4dbf7766101a2b5768129aa
/packages/apps/UnifiedEmail/src/com/android/mail/providers/Attachment.java
e0b83b8d9d2e5930a9453173a8b1da63c57f6db7 07-Mar-2012 Andy Huang <ath@google.com> Flesh out attachment download details

Add columns to AttachmentColumns for the UI to initiate and
cancel downloads, and for providers to convey download progress.

Remove SYNCED column, as the joined-string representation of an
attachment contains "origin", which covers the same thing.

Remove ORIGIN_EXTRAS column, as the joined-string representation
already contains that info.

Change-Id: Id50ffbf07b867a1cd7e5fd40f171d45b556b197b
/packages/apps/UnifiedEmail/src/com/android/mail/providers/Attachment.java
4401c9049f0327019b0bfed554bf8ff5cdaa20e2 18-Jan-2012 Mindy Pereira <mindyp@google.com> Parse addresses for senders display names. Move attachment joined string parsing to provider.

Change-Id: I36a5af1d3d54350ca2d9fa97666f5ceb8268a0b7
/packages/apps/UnifiedEmail/src/com/android/mail/providers/Attachment.java
f944e9655562e321aff52fe5f437e1d2fa2950a9 17-Jan-2012 Mindy Pereira <mindyp@google.com> Handle attachments on sent messages.

Change-Id: I13a2b9250b61fd059b4b3f92caff03c7a3614881
/packages/apps/UnifiedEmail/src/com/android/mail/providers/Attachment.java
7a07fb4955e34250225287212b07d1b6f12bf671 11-Jan-2012 Mindy Pereira <mindyp@google.com> More cleanup of compose activity; add attachments when forwarding.

Change-Id: Ib4290f95ccd38926c361a320dcaf8f66412e780e
/packages/apps/UnifiedEmail/src/com/android/mail/providers/Attachment.java
7aee8f75f07eb39ecacdf0630d2199211aea5718 11-Jan-2012 Mindy Pereira <mindyp@google.com> Make attachment a parcelable object.

Change-Id: I1d0e446d5fa22b83ab103d3e162bc46c72492f4b
/packages/apps/UnifiedEmail/src/com/android/mail/providers/Attachment.java
30e2c24b056542f3b1b438aeb798305d1226d0c8 07-Jan-2012 Andy Huang <ath@google.com> rename unified email's package name to com.android.mail

New code needs a new package name. Fixes IDE conflicts when
browsing.

Change-Id: I328484c6d6c71df077a05d2f7d6d1e85074107c2
/packages/apps/UnifiedEmail/src/com/android/mail/providers/Attachment.java