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
commite91a5db35b0faecb9387ba09341713568b1ae86c (patch)
treec066471d9aa6ba58ea3f3d4b3f5da2e8c3e160d5 /libs
parent69a4817e3e1e368e758ff8c238deb5ee26963c04 (diff)
downloadframeworks_base-e91a5db35b0faecb9387ba09341713568b1ae86c.zip
frameworks_base-e91a5db35b0faecb9387ba09341713568b1ae86c.tar.gz
frameworks_base-e91a5db35b0faecb9387ba09341713568b1ae86c.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;