History log of /packages/apps/Email/provider_src/com/android/email/service/AttachmentService.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
a2ca28d7457866f9e25aea0295807815dfae9d96 11-Jun-2015 Johan Redestig <johan.redestig@sonymobile.com> Fix infinite loop in AttachmentService

If Attachment.restoreAttachmentWithId fails in processQueue the
AttachmentService would end up in an infinite loop with the
following logs:

...
06-10 18:19:20.678 2369 17043 W AttachmentService: \
Could not restore attachment #776
06-10 18:19:20.680 2369 17043 W AttachmentService: \
Could not restore attachment #776
06-10 18:19:20.681 2369 17043 W AttachmentService: \
Could not restore attachment #776
06-10 18:19:20.690 2369 17043 W AttachmentService: \
Could not restore attachment #776
....

With this fix processQueue instead skips to the next
attachment, which probably was the original intent
of the code.

Change-Id: Iadea75387a6f2f5e4cfedf429ab2a42732f2c36c
/packages/apps/Email/provider_src/com/android/email/service/AttachmentService.java
824a80491cb1be22bef67483aa266a3ccb0fc557 03-Oct-2014 Anthony Lee <anthonylee@google.com> Calculate available background threads for AttachmentService correctly.

Also iterated on some logging to help debug Attachment issues:

Bug: 17789960
Change-Id: I77331f9a41f5c95ed228e8ca5fd36a66db5b78ee
/packages/apps/Email/provider_src/com/android/email/service/AttachmentService.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/AttachmentService.java