From d974e0069778693234e3499eabc435d9045bb068 Mon Sep 17 00:00:00 2001 From: Christopher Tate Date: Wed, 23 Jun 2010 16:50:30 -0700 Subject: [PATCH] Remember to initialize timestamps in the dispatch allocator Change-Id: I83a2d353c34ff84a7d130e602c6dedc6a5541944 --- libs/ui/InputDispatcher.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/libs/ui/InputDispatcher.cpp b/libs/ui/InputDispatcher.cpp index 2ad338239..b3103a47c 100644 --- a/libs/ui/InputDispatcher.cpp +++ b/libs/ui/InputDispatcher.cpp @@ -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;