History log of /packages/apps/UnifiedEmail/src/com/android/mail/browse/EmlMessageViewFragment.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
afaab1752ab5b507cdaad7b3619ffc1c9728368f 08-Aug-2014 Andrew Sapperstein <asapperstein@google.com> Remove above attachment promo. b/16138036.

Change-Id: I611f0f7e6eeea0247956e0f1a9f2ec3ec51c9eef
/packages/apps/UnifiedEmail/src/com/android/mail/browse/EmlMessageViewFragment.java
90b60f1bc30e7b0494789365ce80e50ddf44f274 06-Aug-2014 Andrew Sapperstein <asapperstein@google.com> Migrate eml & full message viewers to appcompat.

Change-Id: If0fcff91c5b86ca634d59e98b83b1949c6460bc3
/packages/apps/UnifiedEmail/src/com/android/mail/browse/EmlMessageViewFragment.java
b5cfdb21796667ca2b98774ff47cfd16b501c6f7 23-Apr-2014 Andrew Sapperstein <asapperstein@google.com> am 381c322e: Save to drive promo. b/7659807.

* commit '381c322eb30c39f63a2bb82812d63262eb3c1c1c':
Save to drive promo. b/7659807.
381c322eb30c39f63a2bb82812d63262eb3c1c1c 20-Apr-2014 Andrew Sapperstein <asapperstein@google.com> Save to drive promo. b/7659807.

Provides a space above the attachment bars to show
some additional content. Default behavior does nothing.
Hooks have been added to allow resizing of the message
footer.

Change-Id: Ib950091d176311bdb06c7c7a466223beb997a7b5
/packages/apps/UnifiedEmail/src/com/android/mail/browse/EmlMessageViewFragment.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/browse/EmlMessageViewFragment.java
f59d01c3116dc2adde97a5b52aa6094144c2d315 20-Feb-2014 Andrew Sapperstein <asapperstein@google.com> View entire message UI.

We need the per-message plid server support,
but we are forwarding the clipped bit to
the UI and showing a button based on that
bit. Clicking that bit will open the
plid viewer for gmail. Email should be
unaffected as it does not ever return clipped as true.

b/2887917.

Change-Id: Iddb54e37cf650ca16a75fcbe69f1861becdd81b9
/packages/apps/UnifiedEmail/src/com/android/mail/browse/EmlMessageViewFragment.java
cd10aee59ff768745d0a75bfd659e0ec53ac88de 25-Jan-2014 Tony Mantler <nicoya@google.com> Null check result from EmlMessageLoader

b/12762903

Change-Id: Ia2e09b1bc6a4dadcf5b70b30ef974bb1906e4b15
/packages/apps/UnifiedEmail/src/com/android/mail/browse/EmlMessageViewFragment.java
821e578a71c7015646522e729600618f0ec16fc0 07-Jan-2014 Tony Mantler <nicoya@google.com> Deduplicate Address class

Change-Id: I4f6df51f5641475ffaf96b0189ccc00748880cc0
/packages/apps/UnifiedEmail/src/com/android/mail/browse/EmlMessageViewFragment.java
8ec43e877a9c1925514f066655984e21fbd255e8 18-Dec-2013 Andrew Sapperstein <asapperstein@google.com> View inline images in photo viewer. b/5555553.

Uses the existing javascript image src rewriting
step to build a mapping of urls to message ids.

This mapping is passed into the InlineAttachmentViewIntentBuilder
so that it can use this information along with the
conversation id and account name to build attachment
and attachment list uris so that a photo viewer open
intent can be created.

Additionally, SecureConversationViewController will need a different
mechanism for this UI to work in Email/the eml viewer.

Change-Id: If14800348fe2191d0633bf768b8cb4e9746f6578
/packages/apps/UnifiedEmail/src/com/android/mail/browse/EmlMessageViewFragment.java
234d35352eeaaa8d3928e31028be49112607bd29 29-Oct-2013 Andrew Sapperstein <asapperstein@google.com> Use activity instead of context for printing.

Fixes b/11432054.

Change-Id: I0a56b4498d8e4f1231436b9965c91246c730717e
/packages/apps/UnifiedEmail/src/com/android/mail/browse/EmlMessageViewFragment.java
562c5ba7235948cf1d20a9afa40e67cd62f43cf7 10-Oct-2013 Andrew Sapperstein <asapperstein@google.com> Print single message and offscreen webview.

b/10712542.
Also supports Eml printing and secure printing (though
that's email only and has some buggy rendering).
Also fixes the no subject crash. b/11136365

Change-Id: Ie5f6e7d7e1762c115df3169b6e62dc439545f08c
/packages/apps/UnifiedEmail/src/com/android/mail/browse/EmlMessageViewFragment.java
0e3474ea7e1449990edba4d2bb3b8dbfdb43b173 27-Sep-2013 Andrew Sapperstein <asapperstein@google.com> am 9f913efc: Merge "Fix eml crash. b/10945826." into jb-ub-mail-ur10

* commit '9f913efc3af44bc3c3a1f2b78ea4d1b5dd5f749c':
Fix eml crash. b/10945826.
459e2e7829cc53c911cc9c153e08a5deed7c1b97 26-Sep-2013 Andrew Sapperstein <asapperstein@google.com> Fix eml crash. b/10945826.

Change-Id: I0acdaaa61b602e4ece2422fa3b6bdf253a0d8a46
/packages/apps/UnifiedEmail/src/com/android/mail/browse/EmlMessageViewFragment.java
5c1692a5faeab220881a17a3427a8986ef874403 16-Sep-2013 Andrew Sapperstein <asapperstein@google.com> Initial printing support.

Needs mocks and redlines and such.
b/10712542

TODO:
Logos for Email and Gmail.
Attachment support.
Use offscreen webview.
Secure conversation view support.

Change-Id: Iec37a9a46e506ccf12fbbb775c1b47b08a0d9724
/packages/apps/UnifiedEmail/src/com/android/mail/browse/EmlMessageViewFragment.java
f0ea4849bf7a2c11f99ca0b42307ae8ba665b1dc 14-Aug-2013 Paul Westbrook <pwestbro@google.com> Add public no-args constructors for fragments

Bug: 10311630
Change-Id: Ic7ba4783be34a9c3d185f6cbad3001f49b310aad
/packages/apps/UnifiedEmail/src/com/android/mail/browse/EmlMessageViewFragment.java
4b23dcad99603ec59734cb22cccebbbd3f4a4210 13-Aug-2013 Paul Westbrook <pwestbro@google.com> Fix another ISE

Bug: 10111582
Change-Id: Ic8e246c0ec71c010ac8eb95e2ae81333c47a24d1
/packages/apps/UnifiedEmail/src/com/android/mail/browse/EmlMessageViewFragment.java
3de76eca03ed7ec1d40f2cce23cbbbe8e5e6d70f 16-Jul-2013 Andrew Sapperstein <asapperstein@google.com> Conversation View UI Refresh: links w/o underline.

Using a custom span that disables underlining of
email addresses. Additionally, uses a custom
onClick that opens ComposeActivity with the currently
selected account. Still uses autolink, and just replaces
the URLSpans with a custom replacement.

Change-Id: I30f98e124dddc4b732c7e188102928a88dbf222f
/packages/apps/UnifiedEmail/src/com/android/mail/browse/EmlMessageViewFragment.java
c9524ef7a38c0f949fe614e96af3a5313f36aa0f 11-Jul-2013 Andrew Sapperstein <asapperstein@google.com> Fix hard dependency on account uri in eml viewer.

Fixes b/9739075.

Change-Id: Ia5e3b04dcbd050deb89755609c4de0ae95eac8d9
/packages/apps/UnifiedEmail/src/com/android/mail/browse/EmlMessageViewFragment.java
7638a1004e7c8ed7a85620243da3b051b60217e8 25-Jun-2013 Andrew Sapperstein <asapperstein@google.com> Final eml viewer cleanup.

Fixes b/9560839. Now we show the title of
the eml file and we also show an overflow
button with settings/send feedback/help.

Change-Id: I5eab245d9fd47e37b83eadcb419255939117ab39
/packages/apps/UnifiedEmail/src/com/android/mail/browse/EmlMessageViewFragment.java
b622d2b6750423c185a2a2463277e5e2b853fada 12-Jun-2013 Andy Huang <ath@google.com> fix crash on link open

Bug: 9396858
Change-Id: I409d0d648120d0f61b97da1c1fcfdc91ced1c0f8
/packages/apps/UnifiedEmail/src/com/android/mail/browse/EmlMessageViewFragment.java
4ddda2f0a4ee5381a90779a6939b05b064ce5d11 10-Jun-2013 Andrew Sapperstein <asapperstein@google.com> Working implementation of eml viewer.

Everything works except attachments.
The implementation uses a controller that is used
by both SecureConversationViewFragment and the new
EmlMessageViewFragment to do the rendering work.

Change-Id: I4d8b9b56e6609c3a81b902b102a90f1e50c115cd
/packages/apps/UnifiedEmail/src/com/android/mail/browse/EmlMessageViewFragment.java