am 00144745: Merge "Make the throttling more sensitive to end-to-end latency." into gingerbread

Merge commit '0014474569b8bb237f00fa692ab173678bff619e' into gingerbread-plus-aosp

* commit '0014474569b8bb237f00fa692ab173678bff619e':
  Make the throttling more sensitive to end-to-end latency.
This commit is contained in:
Jeff Brown
2010-08-19 13:30:08 -07:00
committed by Android Git Automerger

View File

@@ -201,7 +201,8 @@ void InputDispatcher::dispatchOnce() {
}
#endif
mThrottleState.lastEventTime = currentTime;
mThrottleState.lastEventTime = entry->eventTime < currentTime
? entry->eventTime : currentTime;
mThrottleState.lastDeviceId = deviceId;
mThrottleState.lastSource = source;
}