summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristopher Tate <ctate@google.com>2010-06-23 16:52:37 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2010-06-23 16:52:37 -0700
commit0379118827ef7e81a70e88e5910f5c7536d8b945 (patch)
treee865b0c44dcce13c5577b4205e6f9b7697ce063e
parent4ca092c7f101cbd95833a9ed8936e9e0485585ad (diff)
parente91a5db35b0faecb9387ba09341713568b1ae86c (diff)
downloadframeworks_base-0379118827ef7e81a70e88e5910f5c7536d8b945.zip
frameworks_base-0379118827ef7e81a70e88e5910f5c7536d8b945.tar.gz
frameworks_base-0379118827ef7e81a70e88e5910f5c7536d8b945.tar.bz2
Merge "Remember to initialize timestamps in the dispatch allocator" into gingerbread
-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;