summaryrefslogtreecommitdiffstats
path: root/proguard.flags
diff options
context:
space:
mode:
authorMarc Blank <mblank@google.com>2010-03-20 22:07:55 -0700
committerMarc Blank <mblank@google.com>2010-03-20 22:07:55 -0700
commita0b4907ca5b082962bd596fba29d2c8649386cf2 (patch)
treead81481e3f71deb890679dc34b9921f8080b9b76 /proguard.flags
parentfe82454847e856d7924d1577fc90acd9e3330f73 (diff)
downloadandroid_packages_apps_Email-a0b4907ca5b082962bd596fba29d2c8649386cf2.tar.gz
android_packages_apps_Email-a0b4907ca5b082962bd596fba29d2c8649386cf2.tar.bz2
android_packages_apps_Email-a0b4907ca5b082962bd596fba29d2c8649386cf2.zip
Fix race condition that results in incomplete accounts
* Remove some very old code that updated the Account in the database when finishing an EAS FolderSync. The old code saved away the entire Account structure using getContentValues(), which has long been recognized as dangerous, since the data being saved might be stale. * In this case, we were clearing the INCOMPLETE flag in another thread, but FolderSync was saving away the old value (with INCOMPLETE set) along with all of the other columns. * Ironically, the old code is entirely obsolete, so the solution is to simply remove the update call. Bug: 2501574 Change-Id: I9eccbde40e05c83ec5f0ab1d3387289286acc5f3
Diffstat (limited to 'proguard.flags')
0 files changed, 0 insertions, 0 deletions