Remove text selection menu item for JB and higher.

Those versions have text selection support built-in (via long pressing
the WebView).
This commit is contained in:
Danny Baumann 2013-02-06 15:39:11 +01:00 committed by cketti
parent 2ea0961006
commit 728c1bdabe
1 changed files with 3 additions and 0 deletions

View File

@ -978,6 +978,9 @@ public class MessageList extends K9FragmentActivity implements MessageListFragme
menu.findItem(R.id.copy).setVisible(mMessageViewFragment.isCopyCapable());
// Jellybean has built-in long press selection support
menu.findItem(R.id.select_text).setVisible(Build.VERSION.SDK_INT < 16);
if (mMessageViewFragment.isMoveCapable()) {
menu.findItem(R.id.move).setVisible(true);
menu.findItem(R.id.archive).setVisible(mMessageViewFragment.canMessageBeArchived());