Oh account name/email mixups, I've missed you so (no I haven't)

b/11341847

Change-Id: Ib3d13e28f742e6cac84795d46121e4be2994abba
This commit is contained in:
Tony Mantler 2013-10-25 10:02:06 -07:00
parent bf39d1166c
commit 20367f1589
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();