From 56fbae9a5dfa5b72ceedbb349e1a5c13828965f4 Mon Sep 17 00:00:00 2001 From: M66B Date: Thu, 16 Apr 2020 12:06:39 +0200 Subject: [PATCH] Added stylus tool to selection tracker --- app/src/main/java/eu/faircode/email/FragmentMessages.java | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/java/eu/faircode/email/FragmentMessages.java b/app/src/main/java/eu/faircode/email/FragmentMessages.java index 3007757abb..c31bed251a 100644 --- a/app/src/main/java/eu/faircode/email/FragmentMessages.java +++ b/app/src/main/java/eu/faircode/email/FragmentMessages.java @@ -1206,6 +1206,7 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences. new ItemDetailsLookupMessage(rvMessage), StorageStrategy.createLongStorage()) .withSelectionPredicate(selectionPredicate) + .withPointerTooltypes(MotionEvent.TOOL_TYPE_MOUSE, MotionEvent.TOOL_TYPE_STYLUS) .build(); adapter.setSelectionTracker(selectionTracker);