Go to file
Marc Blank c09ca39cde When looking for default account, check for empty cursors
* At present, we will cache empty cursors (i.e. where the query
  result had zero rows)
* If a widget (or shortcut) references a deleted account, this will
  create a cached entry for that account, and the defaultAccountId
  code will try to retrieve the isDefault column from that (empty)
  cursor
* To fix this, we simply skip over empty cursors when looking for
  a default account
* We will also look into whether it makes sense to cache zero-
  length cursors

Bug: 4883043
Change-Id: Id998506f77bd6cda6cb1f5d8ce65d689dde4d2c5
2011-06-22 18:45:54 -07:00
assets Remove empty.html, which isn't used any more. 2010-12-22 11:59:31 -08:00
emailcommon Fix cursor-related errors: 2011-06-22 10:59:06 -07:00
res Improve 1-pane message visual 2011-06-22 15:56:34 -07:00
src/com When looking for default account, check for empty cursors 2011-06-22 18:45:54 -07:00
tests Fix problem with getDefaultAccountId() with no explicit default 2011-06-22 15:45:17 -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 Integrate chips into Email. 2011-06-16 17:41:04 -07:00
AndroidManifest.xml Merge "Revert "Make EmailActivity the default activity."" 2011-06-21 15:06:39 -07:00
CleanSpec.mk Step 2 in 7" support for tablets. 2011-05-25 15:44:41 -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 proguard flags after Account move. 2011-06-14 10:25:27 -07:00
remove-exchange-support.sh remove-exchange-support.sh supports MacOS 2011-01-28 13:39:39 -08:00