mirror of
https://github.com/M66B/FairEmail.git
synced 2025-01-03 05:34:51 +00:00
Undeprecate selection tracker
This commit is contained in:
parent
0d5efc6394
commit
9a13ffcbaf
2 changed files with 2 additions and 2 deletions
|
@ -650,7 +650,7 @@ public abstract class SelectionTracker<K> {
|
|||
* @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<K> withGestureTooltypes(@NonNull int... toolTypes) {
|
||||
Log.w(TAG, "Setting gestureTooltypes is likely to result in unexpected behavior.");
|
||||
mGestureToolTypes = toolTypes;
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue