Go to file
Martin Hibdon 7d6d8c87f8 Clear exchange sync keys upon app upgrade
b/10211620
The problem here is that on app upgrade, we need to change
the types of all email accounts. To do this, we have to
create new accounts and delete the old ones. This resulted
in calendar and contacts data getting deleted.
But we were copying over the last sync keys from the old
account, so on the next sync, we would only get new data.
This means that all of the data that we had gotten on
a previous sync would never be sent again, so calendar
events and contacts would be missing forever.
Now, we just don't migrate the old sync keys. This means
that on the next sync, we'll get all data, and restore
our original state.
This is still not ideal, because it means that any locally
created data that has not yet been synced will be lost
(b/10805685), but it's much better than it was.

Change-Id: I150c4dbdf490a8f3880261e2469795896ebfeab5
2013-09-17 16:43:07 -07:00
assets Remove empty.html, which isn't used any more. 2010-12-22 11:59:31 -08:00
emailcommon Fix MessageStateChange to include mailbox id. 2013-09-15 15:43:35 -07:00
emailsync Remove some warnings 2013-08-01 22:14:01 -07:00
res Import translations. DO NOT MERGE 2013-09-16 13:25:25 -07:00
src/com Clear exchange sync keys upon app upgrade 2013-09-17 16:43:07 -07:00
tests Moved some stuff from Email to Unified. 2013-08-29 17:41:26 -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 Use support lib gridlayout. 2013-08-27 17:40:28 -07:00
AndroidManifest.xml Increment Email version. 2013-09-16 16:05:04 -07:00
CleanSpec.mk Remove unused resource directories 2013-09-06 10:23:02 -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 Remove nonexistant classes and update existing ones 2013-01-30 14:20:58 -08:00