summaryrefslogtreecommitdiffstats
path: root/libs
diff options
context:
space:
mode:
authorChristopher Tate <ctate@google.com>2010-06-23 16:50:30 -0700
committerChristopher Tate <ctate@google.com>2010-06-23 16:51:07 -0700
commitd974e0069778693234e3499eabc435d9045bb068 (patch)
treedeb076b69ffbc2939d2a76c0fb3cdd38053f668d /libs
parentd7a5f0b7e2b3797c381eb21acc3425191b786264 (diff)
downloadframeworks_native-d974e0069778693234e3499eabc435d9045bb068.zip
frameworks_native-d974e0069778693234e3499eabc435d9045bb068.tar.gz
frameworks_native-d974e0069778693234e3499eabc435d9045bb068.tar.bz2
Remember to initialize timestamps in the dispatch allocator
Change-Id: I83a2d353c34ff84a7d130e602c6dedc6a5541944
Diffstat (limited to 'libs')
-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 2ad3382..b3103a4 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;