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:
@@ -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