Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 910655ba authored by Arpit Singh's avatar Arpit Singh
Browse files

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
parent d3eabb9d
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -407,9 +407,6 @@ std::list<NotifyArgs> GestureConverter::handleFling(nsecs_t when, nsecs_t readTi
                // 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,