Merge "Oh account name/email mixups, I've missed you so (no I haven't)" into jb-ub-mail-ur10

This commit is contained in:
Tony Mantler 2013-10-25 20:14:37 +00:00 committed by Android (Google) Code Review
commit 19b89b4bea
1 changed files with 2 additions and 1 deletions

View File

@ -97,7 +97,8 @@ public class EmailPreferenceMigrator extends BasePreferenceMigrator {
final Cursor ecAccountCursor = context.getContentResolver().query(
com.android.emailcommon.provider.Account.CONTENT_URI,
com.android.emailcommon.provider.Account.CONTENT_PROJECTION,
AccountColumns.EMAIL_ADDRESS + " = ?", new String[] { account.name },
AccountColumns.EMAIL_ADDRESS + " = ?",
new String[] { account.getEmailAddress() },
null);
final com.android.emailcommon.provider.Account ecAccount =
new com.android.emailcommon.provider.Account();