Added gesture tool stylus

This commit is contained in:
M66B 2020-04-22 18:21:48 +02:00
parent 116a856f86
commit 9d0637a90a
1 changed files with 2 additions and 0 deletions

View File

@ -1212,6 +1212,8 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences.
new ItemDetailsLookupMessage(rvMessage), new ItemDetailsLookupMessage(rvMessage),
StorageStrategy.createLongStorage()) StorageStrategy.createLongStorage())
.withSelectionPredicate(selectionPredicate) .withSelectionPredicate(selectionPredicate)
// https://issuetracker.google.com/issues/154178289
.withGestureTooltypes(MotionEvent.TOOL_TYPE_FINGER, MotionEvent.TOOL_TYPE_STYLUS)
.build(); .build();
adapter.setSelectionTracker(selectionTracker); adapter.setSelectionTracker(selectionTracker);