replicant-packages_apps_Email/provider_src/com/android/email
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
..
activity/setup Changes to support smaller email tombstone apk size 2014-09-16 13:59:07 -07:00
mail Fix subfolders of the inbox. 2014-09-17 11:00:07 -07:00
provider Display sync errors using snackbar and not as a TL footer 2014-09-29 17:51:27 -07:00
service Display sync errors using snackbar and not as a TL footer 2014-09-29 17:51:27 -07:00
setup Changes to support smaller email tombstone apk size 2014-09-16 13:59:07 -07:00
AttachmentInfo.java Changes to support smaller email tombstone apk size 2014-09-16 13:59:07 -07:00
DebugUtils.java Changes to support smaller email tombstone apk size 2014-09-16 13:59:07 -07:00
EmailConnectivityManager.java Changes to support smaller email tombstone apk size 2014-09-16 13:59:07 -07:00
EmailIntentService.java Changes to support smaller email tombstone apk size 2014-09-16 13:59:07 -07:00
FixedLengthInputStream.java Changes to support smaller email tombstone apk size 2014-09-16 13:59:07 -07:00
LegacyConversions.java Changes to support smaller email tombstone apk size 2014-09-16 13:59:07 -07:00
NotificationController.java Changes to support smaller email tombstone apk size 2014-09-16 13:59:07 -07:00
NotificationControllerCreator.java Changes to support smaller email tombstone apk size 2014-09-16 13:59:07 -07:00
NotificationControllerCreatorHolder.java Changes to support smaller email tombstone apk size 2014-09-16 13:59:07 -07:00
PeekableInputStream.java Changes to support smaller email tombstone apk size 2014-09-16 13:59:07 -07:00
Preferences.java Changes to support smaller email tombstone apk size 2014-09-16 13:59:07 -07:00
ResourceHelper.java Changes to support smaller email tombstone apk size 2014-09-16 13:59:07 -07:00
SecurityPolicy.java Don't allow disabling of the camera with managed profiles 2014-09-25 13:48:11 -07:00