Go to file
Makoto Onuki ef2bc0b3e9 DO NOT MERGE: Fix ANR: Run getPreviewIcon on bg thread
The new class EmailAsyncTask might look overkill, but
this is what I've been wanting for long time.
In many activities we store all AsyncTasks we start to member fields
so that we can cancel them in onDestroy().  (e.g.
MessageViewFragmentBase.mLoadMessageTask and mReloadMessageTask)
With EmailAsyncTask these fields will no longer be necessary.
We'll be able to just fire up as many AsyncTasks as we want, and clean them
up in onDestroy() with just cancellAllInterrupt().

Bug 3480136

Backport of Id8aa1ba1500eee58cfab8b562b95e9ed852b3e29

Change-Id: I2d2966ff878862a5246c031d1d4e221da5a7e81a
2011-03-03 14:55:54 -08: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 DO NOT MERGE: Fix ANR: Run getPreviewIcon on bg thread 2011-03-03 14:55:54 -08:00
images auto import from //depot/cupcake/@135843 2009-03-03 19:32:22 -08:00
res Import revised translations. DO NOT MERGE 2011-03-03 14:08:52 -08:00
src/com DO NOT MERGE: Fix ANR: Run getPreviewIcon on bg thread 2011-03-03 14:55:54 -08:00
tests DO NOT MERGE: Fix ANR: Run getPreviewIcon on bg thread 2011-03-03 14:55:54 -08: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 Split out emailcommon/Android.mk 2011-03-01 15:56:27 -08:00
AndroidManifest.xml Email split, part dix 2011-02-25 10:46:16 -08:00
CleanSpec.mk Split out emailcommon/Android.mk 2011-03-01 15:56:27 -08: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 proguard.flags so that unit tests pass 2011-02-28 17:52:37 -08:00
remove-exchange-support.sh remove-exchange-support.sh supports MacOS 2011-01-28 13:39:39 -08:00