From 912380c388dc3ddf7a63aea3e334993bfd418743 Mon Sep 17 00:00:00 2001 From: Fredrik Fornwall Date: Mon, 15 May 2017 23:42:13 +0200 Subject: [PATCH] Do not show a Toast on clipboard text Fixes https://github.com/termux/termux-app/issues/149. --- app/src/main/java/com/termux/app/TermuxActivity.java | 1 - 1 file changed, 1 deletion(-) diff --git a/app/src/main/java/com/termux/app/TermuxActivity.java b/app/src/main/java/com/termux/app/TermuxActivity.java index 8e6c7255db..c869ffeb88 100644 --- a/app/src/main/java/com/termux/app/TermuxActivity.java +++ b/app/src/main/java/com/termux/app/TermuxActivity.java @@ -397,7 +397,6 @@ public void onSessionFinished(final TerminalSession finishedSession) { @Override public void onClipboardText(TerminalSession session, String text) { if (!mIsVisible) return; - showToast("Clipboard:\n\"" + text + "\"", false); ClipboardManager clipboard = (ClipboardManager) getSystemService(Context.CLIPBOARD_SERVICE); clipboard.setPrimaryClip(new ClipData(null, new String[]{"text/plain"}, new ClipData.Item(text))); }