Merge "Remember to initialize timestamps in the dispatch allocator" into gingerbread

This commit is contained in:
Christopher Tate
2010-06-23 16:52:37 -07:00
committed by Android (Google) Code Review

View File

@@ -1440,6 +1440,7 @@ void InputDispatcher::Allocator::initializeEventEntry(EventEntry* entry, int32_t
entry->type = type;
entry->refCount = 1;
entry->dispatchInProgress = false;
entry->eventTime = eventTime;
entry->injectionResult = INPUT_EVENT_INJECTION_PENDING;
entry->injectorPid = -1;
entry->injectorUid = -1;