Merge "Workaround bug 4520517"

This commit is contained in:
Marc Blank 2011-06-01 13:21:20 -07:00 committed by Android (Google) Code Review
commit 9634d2d88c
1 changed files with 4 additions and 1 deletions

View File

@ -1612,7 +1612,10 @@ public class MessageCompose extends Activity implements OnClickListener, OnFocus
createAndAddTab(R.string.forward_action, ACTION_FORWARD);
actionBar.setDisplayShowTitleEnabled(false);
actionBar.setNavigationMode(ActionBar.NAVIGATION_MODE_TABS);
try { // STOPSHIP workaround b/4520517
actionBar.setNavigationMode(ActionBar.NAVIGATION_MODE_TABS);
} catch (RuntimeException ignore) {
}
} else {
// Spinner based mode switching.
if (mActionSpinnerAdapter == null) {