OSDN Git Service

Workaround apps that make assumptions about pointer ids.
authorJeff Brown <jeffbrown@google.com>
Sat, 2 Jul 2011 00:59:27 +0000 (17:59 -0700)
committerJeff Brown <jeffbrown@google.com>
Sat, 2 Jul 2011 02:08:15 +0000 (19:08 -0700)
commit6894a2947eb1f9d499fd7f1a1ec4e7098e07d25d
tree5aaf199228185826ea5deb9200adfc1633519994
parent63acea6ad4a9316e1450dea47840f45df4aaed25
Workaround apps that make assumptions about pointer ids.

Modified the touch input mapper to assign pointer ids sequentially
starting from 0 instead of using the tracking id or slot index
supplied by the driver.  Applications should not depend on this
ordering but some do.  (sigh)

Bug: 4980884
Change-Id: I0dfeb3ac27c57a7102a13c960c760e2a02eb7669
include/utils/BitSet.h
services/input/InputReader.cpp
services/input/InputReader.h
services/input/tests/InputReader_test.cpp