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

Commit 534103d4 authored by Jeff Brown's avatar Jeff Brown Committed by Android (Google) Code Review
Browse files

Merge "Fix issues catching up to touch events after a short pause." into klp-dev

parents 4d8a8392 786dccf9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1699,7 +1699,7 @@ bool InputDispatcher::isWindowReadyForMoreInputLocked(nsecs_t currentTime,
        // up with lots of events because the application is not responding.
        // This condition ensures that ANRs are detected reliably.
        if (!connection->waitQueue.isEmpty()
                && currentTime >= connection->waitQueue.head->eventEntry->eventTime
                && currentTime >= connection->waitQueue.head->deliveryTime
                        + STREAM_AHEAD_EVENT_TIMEOUT) {
            return false;
        }