From 9d0637a90af4d9a186dacda72e946a805f6dd1d6 Mon Sep 17 00:00:00 2001 From: M66B Date: Wed, 22 Apr 2020 18:21:48 +0200 Subject: [PATCH] Added gesture tool stylus --- app/src/main/java/eu/faircode/email/FragmentMessages.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/src/main/java/eu/faircode/email/FragmentMessages.java b/app/src/main/java/eu/faircode/email/FragmentMessages.java index 75ac5fab81..af41362394 100644 --- a/app/src/main/java/eu/faircode/email/FragmentMessages.java +++ b/app/src/main/java/eu/faircode/email/FragmentMessages.java @@ -1212,6 +1212,8 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences. new ItemDetailsLookupMessage(rvMessage), StorageStrategy.createLongStorage()) .withSelectionPredicate(selectionPredicate) + // https://issuetracker.google.com/issues/154178289 + .withGestureTooltypes(MotionEvent.TOOL_TYPE_FINGER, MotionEvent.TOOL_TYPE_STYLUS) .build(); adapter.setSelectionTracker(selectionTracker);