Workaround bug 4520517
To test bug 4490341 Change-Id: I93127a8ed1579184b0ae9c1fc0ce51bae7927f76
This commit is contained in:
parent
0f84ff2c08
commit
e50a6fb48b
@ -1612,7 +1612,10 @@ public class MessageCompose extends Activity implements OnClickListener, OnFocus
|
|||||||
createAndAddTab(R.string.forward_action, ACTION_FORWARD);
|
createAndAddTab(R.string.forward_action, ACTION_FORWARD);
|
||||||
|
|
||||||
actionBar.setDisplayShowTitleEnabled(false);
|
actionBar.setDisplayShowTitleEnabled(false);
|
||||||
actionBar.setNavigationMode(ActionBar.NAVIGATION_MODE_TABS);
|
try { // STOPSHIP workaround b/4520517
|
||||||
|
actionBar.setNavigationMode(ActionBar.NAVIGATION_MODE_TABS);
|
||||||
|
} catch (RuntimeException ignore) {
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
// Spinner based mode switching.
|
// Spinner based mode switching.
|
||||||
if (mActionSpinnerAdapter == null) {
|
if (mActionSpinnerAdapter == null) {
|
||||||
|
Loading…
Reference in New Issue
Block a user