Go to file
James Lemieux 40236a8931 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
2014-09-29 17:51:27 -07:00
assets Remove empty.html, which isn't used any more. 2010-12-22 11:59:31 -08:00
emailcommon Display sync errors using snackbar and not as a TL footer 2014-09-29 17:51:27 -07:00
provider_src/com/android/email Display sync errors using snackbar and not as a TL footer 2014-09-29 17:51:27 -07:00
res Import translations. DO NOT MERGE 2014-09-29 14:41:16 -07:00
src/com Add ability to clear migration state to debug screen 2014-09-24 11:48:46 -07:00
tests Old paper clip asset is removed, which touches a test case here. 2014-09-22 14:00:00 -07:00
.classpath Initial Contribution 2008-10-21 07:00:00 -07:00
.project Initial Contribution 2008-10-21 07:00:00 -07:00
Android.mk Changes to support smaller email tombstone apk size 2014-09-16 13:59:07 -07:00
AndroidManifest.xml Switch to targetSdkVersion=21. b/16408109 2014-09-15 13:16:44 -07:00
CleanSpec.mk Remove unused resource directories 2013-09-06 10:23:02 -07:00
MODULE_LICENSE_APACHE2 auto import from //depot/cupcake/@135843 2009-03-03 19:32:22 -08:00
NOTICE auto import from //depot/cupcake/@135843 2009-03-03 19:32:22 -08:00
proguard-test.flags Fix proguard rule 2014-08-06 00:41:47 -07:00
proguard.flags Prevent AccountSettingsFragment from being stripped 2014-09-17 10:20:17 -07:00