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

Commit f76775af authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Temporarily turn off latency reporting" into sc-dev

parents 06779866 9a7d94a2
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -3893,12 +3893,6 @@ void InputDispatcher::notifyMotion(const NotifyMotionArgs* args) {
                                              args->xCursorPosition, args->yCursorPosition,
                                              args->downTime, args->pointerCount,
                                              args->pointerProperties, args->pointerCoords, 0, 0);
        if (args->id != android::os::IInputConstants::INVALID_INPUT_EVENT_ID &&
            IdGenerator::getSource(args->id) == IdGenerator::Source::INPUT_READER &&
            !mInputFilterEnabled) {
            const bool isDown = args->action == AMOTION_EVENT_ACTION_DOWN;
            mLatencyTracker.trackListener(args->id, isDown, args->eventTime, args->readTime);
        }

        needWake = enqueueInboundEventLocked(std::move(newEntry));
        mLock.unlock();