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

This commit is contained in:
Jeff Brown
2010-08-19 13:27:58 -07:00
committed by Android (Google) Code Review

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