Merge "Make the throttling more sensitive to end-to-end latency." into gingerbread
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user