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

Commit fb8a833d 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 am:...

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

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

Change-Id: Iae0432014b0b67afb82e28784c4d1f11a36e9239
parents 8037dfa8 50dac87c
Loading
Loading
Loading
Loading
+0 −6
Original line number Original line Diff line number Diff line
@@ -3898,12 +3898,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();