am c024edfb: am 534103d4: Merge "Fix issues catching up to touch events after a short pause." into klp-dev
* commit 'c024edfb085e42945f7021adb9d4aaf07dbc2f46': Fix issues catching up to touch events after a short pause.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user