diff options
author | Jeff Brown <jeffbrown@google.com> | 2012-04-27 15:13:25 -0700 |
---|---|---|
committer | Jeff Brown <jeffbrown@google.com> | 2012-04-27 15:58:42 -0700 |
commit | 771526c88f5cc4b56a41cb12aa06a28d377a07d5 (patch) | |
tree | 71c36f271192ee66f069f0d1130a73e91b8302b9 /core/jni/android_app_NativeActivity.cpp | |
parent | 330314c6fb7c178c0f0da65d6aa8c9e7d3004568 (diff) | |
download | frameworks_base-771526c88f5cc4b56a41cb12aa06a28d377a07d5.zip frameworks_base-771526c88f5cc4b56a41cb12aa06a28d377a07d5.tar.gz frameworks_base-771526c88f5cc4b56a41cb12aa06a28d377a07d5.tar.bz2 |
Resample touch events on frame boundaries.
Bug: 6375101
Change-Id: I8774e366306bb2b6b4e42b913525bf25b0380ec3
Diffstat (limited to 'core/jni/android_app_NativeActivity.cpp')
-rw-r--r-- | core/jni/android_app_NativeActivity.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/jni/android_app_NativeActivity.cpp b/core/jni/android_app_NativeActivity.cpp index 19bc154..074afa3 100644 --- a/core/jni/android_app_NativeActivity.cpp +++ b/core/jni/android_app_NativeActivity.cpp @@ -207,7 +207,7 @@ int32_t AInputQueue::getEvent(AInputEvent** outEvent) { uint32_t consumerSeq; InputEvent* myEvent = NULL; - status_t res = mConsumer.consume(&mPooledInputEventFactory, true /*consumeBatches*/, + status_t res = mConsumer.consume(&mPooledInputEventFactory, true /*consumeBatches*/, -1, &consumerSeq, &myEvent); if (res != android::OK) { if (res != android::WOULD_BLOCK) { |