Merge "Set last event time to previous event batch delivery time to apps" into honeycomb-mr1
This commit is contained in:
committed by
Android (Google) Code Review
commit
72b3524eef
@ -354,8 +354,7 @@ void InputDispatcher::dispatchOnceInnerLocked(nsecs_t keyRepeatTimeout,
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
mThrottleState.lastEventTime = entry->eventTime < currentTime
|
mThrottleState.lastEventTime = currentTime;
|
||||||
? entry->eventTime : currentTime;
|
|
||||||
mThrottleState.lastDeviceId = deviceId;
|
mThrottleState.lastDeviceId = deviceId;
|
||||||
mThrottleState.lastSource = source;
|
mThrottleState.lastSource = source;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user