History log of /packages/apps/Email/provider_src/com/android/email/service/PopImapSyncAdapterService.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
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/service/PopImapSyncAdapterService.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/service/PopImapSyncAdapterService.java