Merge "Set last event time to previous event batch delivery time to apps" into honeycomb-mr1

This commit is contained in:
Rebecca Schultz Zavin
2011-03-03 18:42:55 -08:00
committed by Android (Google) Code Review

View File

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