replicant-packages_apps_Email/tests
Marc Blank 0e1595c177 Handle unexpected deletion of EmailProvider database
* Addresses #2226426
* If the user deletes Email data, or if data corruption causes
  EmailProvider.db to be deleted, we will be in an inconsistent
  state with any existing Exchange accounts, since the AccountManager
  will still know about them, contacts (and eventually calendar) items will
  continue to exist, etc.
* Run an integrity check when the provider is created, deleting any
  orphaned EmailProvider.db or EmailProviderBody.db
* Catch SQLiteException's in the Provider and do an integrity check
  if any is caught

Change-Id: I47d523b90a6b8f71ba8e13fba4b04846b3da1b1d
2009-12-07 21:12:57 -08:00
..
src/com/android Handle unexpected deletion of EmailProvider database 2009-12-07 21:12:57 -08:00
Android.mk auto import from //depot/cupcake/@135843 2009-03-03 19:32:22 -08:00
AndroidManifest.xml auto import from //depot/cupcake/@135843 2009-03-03 19:32:22 -08:00