Go to file
Marc Blank 2f6cbb021c Fix a race condition in which an Attachment might be wrongly deleted
* This is a serious bug dating back to the first Honeycomb release
* It was possible that a newly created Message could not yet be
  committed to the database when the AttachmentDownloadService
  tries to download one of that message's attachments.
* ADS, when it sees that the message (apparently) doesn't
  exist, deletes the Attachment (it appears to be orphaned)
* The effect is that the user never sees one of the attachments
  in a message.
* This bug has been reported externally
* The fix is simply to check for the message's existence before
  deciding to delete it (this check will always work properly)

Bug: 4409692

Change-Id: I106ed2fe88d2435ad7a462fced5cb307c2559fd6
2011-05-11 17:27:37 -07:00
assets Remove empty.html, which isn't used any more. 2010-12-22 11:59:31 -08:00
docs auto import from //depot/cupcake/@135843 2009-03-03 19:32:22 -08:00
emailcommon Fix a race condition in which an Attachment might be wrongly deleted 2011-05-11 17:27:37 -07:00
images auto import from //depot/cupcake/@135843 2009-03-03 19:32:22 -08:00
res Add plumbing for disallowing attachment download per policy 2011-05-10 18:26:00 -07:00
src/com Fix a race condition in which an Attachment might be wrongly deleted 2011-05-11 17:27:37 -07:00
tests Fix a race condition in which an Attachment might be wrongly deleted 2011-05-11 17:27:37 -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 Include guava in Email. 2011-04-14 13:49:01 -07:00
AndroidManifest.xml Create a new notification service 2011-05-11 07:54:07 -07:00
CleanSpec.mk Remove notification if messages seen off device 2011-05-05 12:00:27 -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.flags Fix unit tests 2011-04-28 17:31:53 -07:00
remove-exchange-support.sh remove-exchange-support.sh supports MacOS 2011-01-28 13:39:39 -08:00