From 62cee715a7b4ee8d0aaf290f842a6663d8d75fd2 Mon Sep 17 00:00:00 2001 From: Niels Andriesse Date: Thu, 24 Jun 2021 11:24:25 +1000 Subject: [PATCH] Add documentation --- .../securesms/conversation/v2/ConversationActivityV2.kt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/src/main/java/org/thoughtcrime/securesms/conversation/v2/ConversationActivityV2.kt b/app/src/main/java/org/thoughtcrime/securesms/conversation/v2/ConversationActivityV2.kt index cf46cd30b1..3376e7b93d 100644 --- a/app/src/main/java/org/thoughtcrime/securesms/conversation/v2/ConversationActivityV2.kt +++ b/app/src/main/java/org/thoughtcrime/securesms/conversation/v2/ConversationActivityV2.kt @@ -372,6 +372,10 @@ class ConversationActivityV2 : PassphraseRequiredActionBarActivity(), InputBarDe this.actionMode = null } } else { + // NOTE: + // We have to use onContentClick (rather than a click listener directly on + // the view) so as to not interfere with all the other gestures. Do not add + // onClickListeners directly to message content views. view.onContentClick() } }