From c2796285d5084329ea9c759f31622871103ec97e Mon Sep 17 00:00:00 2001 From: Ahmed Ibrahim Khalil Date: Sun, 23 Apr 2017 00:18:24 +0200 Subject: [PATCH] Fix copying links when scrolling in #6343 Closes #6565 // FREEBIE --- src/org/thoughtcrime/securesms/util/LongClickMovementMethod.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/org/thoughtcrime/securesms/util/LongClickMovementMethod.java b/src/org/thoughtcrime/securesms/util/LongClickMovementMethod.java index 48b34aa554..25628f2b0c 100644 --- a/src/org/thoughtcrime/securesms/util/LongClickMovementMethod.java +++ b/src/org/thoughtcrime/securesms/util/LongClickMovementMethod.java @@ -90,6 +90,7 @@ public class LongClickMovementMethod extends LinkMovementMethod { aSpan.setHighlighted(false, Color.TRANSPARENT); } Selection.removeSelection(buffer); + return gestureDetector.onTouchEvent(event); } return super.onTouchEvent(widget, buffer, event); }