commit | eaeb35098ee6f8f664528ba0e642fafb6e248a60 | [log] [tgz] |
---|---|---|
author | Chris Tate <ctate@android.com> | Tue Aug 03 12:22:50 2010 -0700 |
committer | Android (Google) Code Review <android-gerrit@google.com> | Tue Aug 03 12:22:50 2010 -0700 |
tree | 6dd0224cd84a04da74be02bfe3f839183c4b0f92 | |
parent | f4c9140784693059ac0e378bac22f39812c5c70c [diff] | |
parent | b183fbd6460e6ebb7ffc568ec38ab1548dac0065 [diff] |
Merge "Enhanced VelocityTracker for > 5 pointers and fixed bugs." into gingerbread
diff --git a/include/ui/InputReader.h b/include/ui/InputReader.h index 6bf1bfa..f162231 100644 --- a/include/ui/InputReader.h +++ b/include/ui/InputReader.h
@@ -565,7 +565,9 @@ for (uint32_t i = 0; i < pointerCount; i++) { pointers[i] = other.pointers[i]; - idToIndex[i] = other.idToIndex[i]; + + int id = pointers[i].id; + idToIndex[id] = other.idToIndex[id]; } }