diff --git a/src/com/android/email/activity/setup/AccountSettings.java b/src/com/android/email/activity/setup/AccountSettings.java index 06aa2aee2..29f7c0e27 100644 --- a/src/com/android/email/activity/setup/AccountSettings.java +++ b/src/com/android/email/activity/setup/AccountSettings.java @@ -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; diff --git a/src/com/android/email/activity/setup/AccountSettingsFragment.java b/src/com/android/email/activity/setup/AccountSettingsFragment.java index d8db49099..c84e244e9 100644 --- a/src/com/android/email/activity/setup/AccountSettingsFragment.java +++ b/src/com/android/email/activity/setup/AccountSettingsFragment.java @@ -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); } diff --git a/src/com/android/email/activity/setup/GeneralPreferences.java b/src/com/android/email/activity/setup/GeneralPreferences.java index c335dd456..5555db2b0 100644 --- a/src/com/android/email/activity/setup/GeneralPreferences.java +++ b/src/com/android/email/activity/setup/GeneralPreferences.java @@ -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); }