summaryrefslogtreecommitdiff
path: root/libs/ui/InputDispatcher.cpp
diff options
context:
space:
mode:
author Christopher Tate <ctate@google.com> 2010-06-23 16:50:30 -0700
committer Christopher Tate <ctate@google.com> 2010-06-23 16:51:07 -0700
commite91a5db35b0faecb9387ba09341713568b1ae86c (patch)
treec066471d9aa6ba58ea3f3d4b3f5da2e8c3e160d5 /libs/ui/InputDispatcher.cpp
parent69a4817e3e1e368e758ff8c238deb5ee26963c04 (diff)
Remember to initialize timestamps in the dispatch allocator
Change-Id: I83a2d353c34ff84a7d130e602c6dedc6a5541944
Diffstat (limited to 'libs/ui/InputDispatcher.cpp')
-rw-r--r--libs/ui/InputDispatcher.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/ui/InputDispatcher.cpp b/libs/ui/InputDispatcher.cpp
index 2ad338239665..b3103a47c804 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;