History log of /packages/apps/Email/provider_src/com/android/email/provider/EmailProvider.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
99665fe7bfabd0e84e3c1e05bbec5f11fb9a904c 21-Oct-2014 Martin Hibdon <mhibdon@google.com> Disable smart foward/reply

b/17720266
When replying to a message, sometimes the wrong message
is included in the reply. This seems to be related to
smart reply/forward, since it only has ever been known to
happen on an Exchange 2013 server. For now, disable smart
reply/forward.
We do this by making the EmailProvider always zero out the
FLAGS_SUPPORTS_SMART_FORWARD bit on the account. This way
we can control this feature from the Email app, rather than
Exchange.

Change-Id: I88bb5f06a1098f9f085592b0a3cf1a01d9eb3fc7
/packages/apps/Email/provider_src/com/android/email/provider/EmailProvider.java
f61e098a4161dd52f1d81c577520ce96b617480d 16-Oct-2014 Martin Hibdon <mhibdon@google.com> Correctly update UI_SYNC_STATUS upon search

b/17377040

Change-Id: I5cf9281fa204ac780b737215a86362a8317d63b6
/packages/apps/Email/provider_src/com/android/email/provider/EmailProvider.java
5fde01e4a94b0339937da3bf927031dbc3d631dd 10-Oct-2014 Martin Hibdon <mhibdon@google.com> Merge "Set the search mailbox's syncState as soon as a search is requested" into ub-gmail-ur14-dev
00fbbb24b3777160d5ba0157ff171aa2335632d7 08-Oct-2014 Martin Hibdon <mhibdon@google.com> Set the search mailbox's syncState as soon as a search is requested

b/15868294
b/17377040
When we do a search, we clear the current contents of the search mailbox,
and then send a request to whatever service is appropriate (IMAP or
Exchange.) The service then begins a sync and updates the sync state.
The thing is, this leaves a time window when the sync state is still
NONE, but no contents have been loaded yet.
So now, as soon as the search request is made, we set the sync state
to LIVE, then send off the request. That should keep the empty state
view hidden until we actually do the sync.

Change-Id: Ia97e1cf2773db460fdf32aaa45205c4e6034527d
/packages/apps/Email/provider_src/com/android/email/provider/EmailProvider.java
89272781fa854e7f44e673bbc3d9c87b0a7b44b4 09-Oct-2014 Martin Hibdon <mhibdon@google.com> EmailProvider now supports query and getType for cached file urls

b/17573792
This is needed so that we can send cached files as attachments.
This case comes up if you edit a draft with an attachment,
view the attachment, and then share that with Email.
Also, update the manifest so that EmailProvider grants
uri permission for cachedFiles.

Change-Id: Ib32ae8360b627823af9361cba05e0e5dbd0ae4ca
/packages/apps/Email/provider_src/com/android/email/provider/EmailProvider.java
b62067e3c3ec01559568705df4908fe7f2860af9 01-Oct-2014 Tony Mantler <nicoya@google.com> Make sure old body files don't contaminate new messages

If we have an error writing an old body file and overwrite the same ID,
we might end up in a situation where we have HTML from one message and Text
from another. Clean up the body files before insert to avoid this.

b/17720266

Change-Id: I2fb18fa24c6f3bc01e7c877e2f3bfccee6a34015
/packages/apps/Email/provider_src/com/android/email/provider/EmailProvider.java
69ba565b62874d4957c28749494bef173490b0c1 01-Oct-2014 James Lemieux <jplemieux@google.com> Merge "Combined view should also display client-side sanitized HTML" into ub-gmail-ur14-dev
aa2ca51477039788c4e69db3579a51baffbb9079 30-Sep-2014 James Lemieux <jplemieux@google.com> Combined view should also display client-side sanitized HTML

b/16206516

Change-Id: I23385f2c29a55a155a4842226d4f1f37943338d2
/packages/apps/Email/provider_src/com/android/email/provider/EmailProvider.java
40236a89316ab2151a8c93de0e286c2f1a9a8d37 30-Sep-2014 James Lemieux <jplemieux@google.com> Display sync errors using snackbar and not as a TL footer

b/16463253

The FAB compose button overlaps the action button found in the TL footer
when network errors occur during sync. To avoid this overlap, the snackbar
is used to display these errors and they no longer appear as a TL footer.

In order to signal the sync error to AAC for display in the snackbar, the
Folder.lastSyncResult needed to be encoded in the manner that AAC reads.
This was not happening for POP/IMAP/Exchange accounts, so a large portion
of this change is encoding that value properly every place it is written.

To ensure the value is read/written properly everywhere, common methods were
introduced in UIProvider that do this work. UIProviderTest was also added
to ensure the read/write methods agree with each other.

Finally, the display of the "Load More" TL footer was updated to match the
latest spec.

Change-Id: I9d3ae1157f288f05b0fed4d1385858f6c9ebfbf9
/packages/apps/Email/provider_src/com/android/email/provider/EmailProvider.java
bb68c13afa630cae058eb40d3ce68644f3f3c8b9 07-Sep-2014 Paul Westbrook <pwestbro@google.com> Changes to support smaller email tombstone apk size

This reduces the tombstone down by 100K

A follow-on cl will remove the unused resources from the tombstone build

Bug: 17414014
Change-Id: I5d38811b17a5273ec726e750ab123e10e36cee04
/packages/apps/Email/provider_src/com/android/email/provider/EmailProvider.java