am 7ac828bc: Merge change 22823 into eclair

Merge commit '7ac828bce884c26d7f28486ec49d7f99b81842d3'

* commit '7ac828bce884c26d7f28486ec49d7f99b81842d3':
  Fix bug #2080302
This commit is contained in:
Marc Blank 2009-08-26 15:54:29 -07:00 committed by Android Git Automerger
commit 2b1fb26f87

View File

@ -1242,7 +1242,7 @@ public abstract class EmailContent {
@Override
public int update(Context context, ContentValues cv) {
if (cv.containsKey(AccountColumns.IS_DEFAULT) &&
cv.getAsBoolean(AccountColumns.IS_DEFAULT)) {
(cv.getAsInteger(AccountColumns.IS_DEFAULT) != 0)) {
ArrayList<ContentProviderOperation> ops = new ArrayList<ContentProviderOperation>();
ContentValues cv1 = new ContentValues();
cv1.put(AccountColumns.IS_DEFAULT, 0);