Stop processing touch event on TouchCancel
Reset the touch state machine on TouchCancel. Fixes an issue where old
touch points are used by the touch state machine during the next touch
sequence. Causing, for example, a zoom gesture when a pan gesture is
expected.
Change-Id: I549a90d97780f510384d21529bfa764b4d63a162
Reviewed-by: Robin Burchell <robin.burchell@viroteck.net>
| commit | cc4f8a6d7b199434ad21792b34066ab98a10ada3 |
| parent | 1cb3ec6e862e99b60aaad488ccb1696c10218365 |
| author | Aaron McCarthy <aaron.mccarthy@jollamobile.com> |
| committer | Aaron McCarthy <mccarthy.aaron@gmail.com> |
| commit time | Tue, 24 Feb 2015 13:25:58 +0000 |