Merge "Get rid of Account#name" into ub-mail-master

This commit is contained in:
Tony Mantler 2014-03-03 21:08:31 +00:00 committed by Android (Google) Code Review
commit 4b73ce73bf
2 changed files with 3 additions and 3 deletions

View File

@ -106,7 +106,7 @@ public class EmailPreferenceMigrator extends BasePreferenceMigrator {
if (ecAccountCursor == null) {
LogUtils.e(LOG_TAG, "Null old account cursor for mailbox %s",
LogUtils.sanitizeName(LOG_TAG, account.name));
LogUtils.sanitizeName(LOG_TAG, account.getEmailAddress()));
continue;
}
@ -115,7 +115,7 @@ public class EmailPreferenceMigrator extends BasePreferenceMigrator {
ecAccount.restore(ecAccountCursor);
} else {
LogUtils.e(LOG_TAG, "Couldn't load old account for mailbox %s",
LogUtils.sanitizeName(LOG_TAG, account.name));
LogUtils.sanitizeName(LOG_TAG, account.getEmailAddress()));
continue;
}
} finally {

View File

@ -98,7 +98,7 @@ public class FolderPickerActivity extends Activity implements FolderPickerCallba
} else {
// In this case, we're coming from Settings
uiAccount = i.getParcelableExtra(EmailProvider.PICKER_UI_ACCOUNT);
mAccountName = uiAccount.name;
mAccountName = uiAccount.getDisplayName();
mAccountId = Long.parseLong(uiAccount.uri.getLastPathSegment());
mMailboxType = i.getIntExtra(EmailProvider.PICKER_MAILBOX_TYPE, -1);
headerId = i.getIntExtra(EmailProvider.PICKER_HEADER_ID, 0);