diff --git a/src/com/android/email/activity/MessageCompose.java b/src/com/android/email/activity/MessageCompose.java index 749cae57b..7749f2fca 100644 --- a/src/com/android/email/activity/MessageCompose.java +++ b/src/com/android/email/activity/MessageCompose.java @@ -1603,7 +1603,10 @@ public class MessageCompose extends Activity implements OnClickListener, OnFocus if (shouldUseActionTabs()) { // Tab-based mode switching. ActionBar actionBar = getActionBar(); - actionBar.removeAllTabs(); + + if (actionBar.getTabCount() > 0) { + actionBar.removeAllTabs(); + } createAndAddTab(R.string.reply_action, ACTION_REPLY); createAndAddTab(R.string.reply_all_action, ACTION_REPLY_ALL); createAndAddTab(R.string.forward_action, ACTION_FORWARD);