diff --git a/app/src/main/java/androidx/recyclerview/selection/SelectionTracker.java b/app/src/main/java/androidx/recyclerview/selection/SelectionTracker.java index 910935a0ac..a338ae1071 100644 --- a/app/src/main/java/androidx/recyclerview/selection/SelectionTracker.java +++ b/app/src/main/java/androidx/recyclerview/selection/SelectionTracker.java @@ -650,7 +650,7 @@ public abstract class SelectionTracker { * @deprecated GestureSelection is best bound to {@link MotionEvent#TOOL_TYPE_FINGER}, * and only that tool type. This method will be removed in a future release. */ - @Deprecated + //@Deprecated public @NonNull Builder withGestureTooltypes(@NonNull int... toolTypes) { Log.w(TAG, "Setting gestureTooltypes is likely to result in unexpected behavior."); mGestureToolTypes = toolTypes; diff --git a/app/src/main/java/eu/faircode/email/FragmentMessages.java b/app/src/main/java/eu/faircode/email/FragmentMessages.java index b92facfa09..032dc0db80 100644 --- a/app/src/main/java/eu/faircode/email/FragmentMessages.java +++ b/app/src/main/java/eu/faircode/email/FragmentMessages.java @@ -2079,7 +2079,7 @@ public class FragmentMessages extends FragmentBase StorageStrategy.createLongStorage()) .withSelectionPredicate(selectionPredicate) // https://issuetracker.google.com/issues/154178289 - .withGestureTooltypes(MotionEvent.TOOL_TYPE_FINGER, MotionEvent.TOOL_TYPE_STYLUS) // TODO CASA + .withGestureTooltypes(MotionEvent.TOOL_TYPE_FINGER, MotionEvent.TOOL_TYPE_STYLUS) .build(); adapter.setSelectionTracker(selectionTracker);