Use mailbox name in settings

Bug: 6282417
Change-Id: Ib763ed6fac8c047fc2b8ec1c6ffad052f2b69340
This commit is contained in:
Marc Blank 2012-04-04 11:25:07 -07:00
parent c333a34616
commit aad19ff4fe

View File

@ -223,7 +223,7 @@ public class MailboxSettings extends PreferenceActivity {
// Update the title with the mailbox name.
ActionBar actionBar = getActionBar();
String mailboxName = "TODO: Get mailbox name";
String mailboxName = mMailbox.mDisplayName;
if (actionBar != null) {
actionBar.setTitle(mailboxName);
actionBar.setSubtitle(getString(R.string.mailbox_settings_activity_title));