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

Commit d34c7267 authored by Prabir Pradhan's avatar Prabir Pradhan Committed by Automerger Merge Worker
Browse files

Merge "Address ghost spots that show up after touchscreen is re-enabled" into tm-dev am: 02ecde03

parents b6ddbaac 02ecde03
Loading
Loading
Loading
Loading
+1 −2
Original line number Original line Diff line number Diff line
@@ -1657,9 +1657,8 @@ void TouchInputMapper::cookAndDispatch(nsecs_t when, nsecs_t readTime) {


        dispatchPointerUsage(when, readTime, policyFlags, pointerUsage);
        dispatchPointerUsage(when, readTime, policyFlags, pointerUsage);
    } else {
    } else {
        updateTouchSpots();

        if (!mCurrentMotionAborted) {
        if (!mCurrentMotionAborted) {
            updateTouchSpots();
            dispatchButtonRelease(when, readTime, policyFlags);
            dispatchButtonRelease(when, readTime, policyFlags);
            dispatchHoverExit(when, readTime, policyFlags);
            dispatchHoverExit(when, readTime, policyFlags);
            dispatchTouches(when, readTime, policyFlags);
            dispatchTouches(when, readTime, policyFlags);