commit | eeadb32488852d8fa6b44c8ce2b6c0a1c8a5346a | [log] [tgz] |
---|---|---|
author | Michael Wright <michaelwr@google.com> | Wed Aug 14 13:44:23 2013 -0700 |
committer | Michael Wright <michaelwr@google.com> | Wed Aug 14 17:33:27 2013 -0700 |
tree | f051a85a68e0f8a7b25c3610942ae0b1cffca3bd | |
parent | 59703c7186ea49669e7dd326a1e2e704385cbaff [diff] [blame] |
Bound touch and tool axes lengths below at 0 Change-Id: I75ca196312201773cfabb74ee5b28a7d80f6ba60
diff --git a/services/input/InputReader.h b/services/input/InputReader.h index 98daaf5..a8bb636 100644 --- a/services/input/InputReader.h +++ b/services/input/InputReader.h
@@ -1285,6 +1285,9 @@ if (haveSizeBias) { *outSize += sizeBias; } + if (*outSize < 0) { + *outSize = 0; + } } } mCalibration;