-
Committer:
Tarmac
-
Author(s):
Daniel van Vugt
-
Date:
2013-06-12 06:38:24 UTC
-
mfrom:
(728.1.11 action)
-
Revision ID:
tarmac-20130612063824-3w0v53wfr2lqgwij
Prevent MirMotionEvent.action from returning values out of range of enum
MirMotionAction. (LP: #1189379)
This was happening on some multi-touch events due to Android's
ACTION_POINTER_INDEX_MASK:
http://developer.android.com/reference/android/view/MotionEvent.html
which we don't really need. Because the same information is already present
in pointer_count.
. Fixes: https://bugs.launchpad.net/bugs/1189379.
Approved by Kevin DuBois, Alan Griffiths, PS Jenkins bot.