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

Commit ae9dfdd2 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Temporarily turn off latency reporting" into sc-dev am: f76775af

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/14791672

Change-Id: I855d6622a2fde1f6536fbd9dc8b2a8eb7d1ff42f
parents b0fd79e0 f76775af
Loading
Loading
Loading
Loading
+0 −6
Original line number Original line Diff line number Diff line
@@ -3893,12 +3893,6 @@ void InputDispatcher::notifyMotion(const NotifyMotionArgs* args) {
                                              args->xCursorPosition, args->yCursorPosition,
                                              args->xCursorPosition, args->yCursorPosition,
                                              args->downTime, args->pointerCount,
                                              args->downTime, args->pointerCount,
                                              args->pointerProperties, args->pointerCoords, 0, 0);
                                              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));
        needWake = enqueueInboundEventLocked(std::move(newEntry));
        mLock.unlock();
        mLock.unlock();