Re-add the demon "Add New Account"

b/10041669

Change-Id: I2b1db0a063ec292b33ec8f176b739c1c4422a040
This commit is contained in:
Tony Mantler 2013-07-29 10:30:12 -07:00
parent 8fded8b7f1
commit 6cf15e66bc
3 changed files with 3 additions and 2 deletions

View File

@ -299,6 +299,9 @@ public class AccountSettings extends PreferenceActivity implements FeedbackEnabl
// when necessary.
onBackPressed();
break;
case R.id.add_new_account:
onAddNewAccount();
break;
case R.id.feedback_menu_item:
Utils.sendFeedback(this, mFeedbackUri, false /* reportingProblem */);
break;

View File

@ -413,7 +413,6 @@ public class AccountSettingsFragment extends EmailPreferenceFragment
@Override
public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {
menu.clear();
inflater.inflate(R.menu.settings_fragment_menu, menu);
}

View File

@ -194,7 +194,6 @@ public class GeneralPreferences extends EmailPreferenceFragment implements
@Override
public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {
menu.clear();
inflater.inflate(R.menu.general_prefs_fragment_menu, menu);
}