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

* commit '534103d4004ffd102609a09e0b55d329adbc1a57':
  Fix issues catching up to touch events after a short pause.
This commit is contained in:
Jeff Brown
2013-10-21 18:06:23 -07:00
committed by Android Git Automerger

View File

@@ -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;
}