Get rid of Account#name
b/13249115 Change-Id: I810237961f429e1f082925c0c6423ca808d4c8f0
This commit is contained in:
parent
b2df479d06
commit
531b363059
|
@ -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 {
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue