diff --git a/app/ui/legacy/src/main/java/com/fsck/k9/ui/messageview/MessageContainerView.java b/app/ui/legacy/src/main/java/com/fsck/k9/ui/messageview/MessageContainerView.java
index 3efcff567..1b38cfe18 100644
--- a/app/ui/legacy/src/main/java/com/fsck/k9/ui/messageview/MessageContainerView.java
+++ b/app/ui/legacy/src/main/java/com/fsck/k9/ui/messageview/MessageContainerView.java
@@ -16,7 +16,6 @@ import android.text.TextUtils;
import android.util.AttributeSet;
import android.view.ContextMenu;
import android.view.ContextMenu.ContextMenuInfo;
-import android.view.KeyEvent;
import android.view.LayoutInflater;
import android.view.Menu;
import android.view.MenuItem;
@@ -500,18 +499,6 @@ public class MessageContainerView extends LinearLayout implements OnCreateContex
}
}
- public void zoom(KeyEvent event) {
- if (event.isShiftPressed()) {
- mMessageContentView.zoomIn();
- } else {
- mMessageContentView.zoomOut();
- }
- }
-
- public void beginSelectingText() {
- mMessageContentView.emulateShiftHeld();
- }
-
public void resetView() {
setLoadPictures(false);
mAttachments.removeAllViews();
diff --git a/app/ui/legacy/src/main/java/com/fsck/k9/view/MessageWebView.java b/app/ui/legacy/src/main/java/com/fsck/k9/view/MessageWebView.java
index 206785237..023bfb123 100644
--- a/app/ui/legacy/src/main/java/com/fsck/k9/view/MessageWebView.java
+++ b/app/ui/legacy/src/main/java/com/fsck/k9/view/MessageWebView.java
@@ -7,14 +7,11 @@ import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import android.util.AttributeSet;
import timber.log.Timber;
-import android.view.KeyEvent;
import android.webkit.WebSettings;
import android.webkit.WebSettings.LayoutAlgorithm;
import android.webkit.WebSettings.RenderPriority;
import android.webkit.WebView;
-import android.widget.Toast;
-import com.fsck.k9.ui.R;
import com.fsck.k9.mailstore.AttachmentResolver;
@@ -134,22 +131,6 @@ public class MessageWebView extends WebView {
resumeTimers();
}
- /*
- * Emulate the shift key being pressed to trigger the text selection mode
- * of a WebView.
- */
- public void emulateShiftHeld() {
- try {
-
- KeyEvent shiftPressEvent = new KeyEvent(0, 0, KeyEvent.ACTION_DOWN,
- KeyEvent.KEYCODE_SHIFT_LEFT, 0, 0);
- shiftPressEvent.dispatch(this, null, null);
- Toast.makeText(getContext() , R.string.select_text_now, Toast.LENGTH_SHORT).show();
- } catch (Exception e) {
- Timber.e(e, "Exception in emulateShiftHeld()");
- }
- }
-
public interface OnPageFinishedListener {
void onPageFinished();
}
diff --git a/app/ui/legacy/src/main/res/values/strings.xml b/app/ui/legacy/src/main/res/values/strings.xml
index 8e2285d26..d6fb93cff 100644
--- a/app/ui/legacy/src/main/res/values/strings.xml
+++ b/app/ui/legacy/src/main/res/values/strings.xml
@@ -887,8 +887,6 @@ Please submit bug reports, contribute new features and ask questions at
Discard message?
Are you sure you want to discard this message?
- Select text to copy.
-
Clear local messages?
This will remove all local messages from the folder. No messages will be deleted from the server.
Clear messages