summaryrefslogtreecommitdiff
path: root/services/input/InputReader.cpp
diff options
context:
space:
mode:
author Jeff Brown <jeffbrown@google.com> 2011-07-27 15:54:35 -0700
committer Android (Google) Code Review <android-gerrit@google.com> 2011-07-27 15:54:35 -0700
commitd3cb204a7b5140d6f59ed9f9f64ef3cbdae3acba (patch)
tree7b91a378d17cb73ba3543d01519012225dd5554b /services/input/InputReader.cpp
parentd02fa35e8c80a7171c7556743b09dda2fbcc96b2 (diff)
parent44e504e089b7483448c386741c5ee31d2c325400 (diff)
Merge "Drop hack for drivers that emit zero ABS_MT_TOUCH_MAJOR. Bug: 5064702"
Diffstat (limited to 'services/input/InputReader.cpp')
-rw-r--r--services/input/InputReader.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/services/input/InputReader.cpp b/services/input/InputReader.cpp
index c9fac8194c01..3e041f32f116 100644
--- a/services/input/InputReader.cpp
+++ b/services/input/InputReader.cpp
@@ -5082,11 +5082,6 @@ void MultiTouchInputMapper::sync(nsecs_t when) {
}
if (fields & Accumulator::FIELD_ABS_MT_TOUCH_MAJOR) {
- if (inSlot.absMTTouchMajor <= 0) {
- // Some devices send sync packets with X / Y but with a 0 touch major to indicate
- // a pointer going up. Drop this finger.
- continue;
- }
outPointer.touchMajor = inSlot.absMTTouchMajor;
} else {
// Default touch area to 0 if absent.