Remove redundent call to enableTapToClick
Remove an unnecessary call to enableTapToClick from handleFling as it
will be called from handleMove anyway.
Bug: 301055381
Test: atest inputflinger_tests
Change-Id: I412e35304c7bbbf4da2bb1b180e3a4ad41965d39
diff --git a/services/inputflinger/reader/mapper/gestures/GestureConverter.cpp b/services/inputflinger/reader/mapper/gestures/GestureConverter.cpp
index b36a94d..8daacdb 100644
--- a/services/inputflinger/reader/mapper/gestures/GestureConverter.cpp
+++ b/services/inputflinger/reader/mapper/gestures/GestureConverter.cpp
@@ -407,9 +407,6 @@
// magnitude, which will also result in the pointer icon being updated.
// TODO(b/282023644): Add a signal in libgestures for when a stable contact has been
// initiated with a touchpad.
- if (!mReaderContext.isPreventingTouchpadTaps()) {
- enableTapToClick(when);
- }
return handleMove(when, readTime, gestureStartTime,
Gesture(kGestureMove, gesture.start_time, gesture.end_time,
/*dx=*/0.f,