Fixed wrong index parameter for AMotionEvent_getX when using multi touch.
Merge branch 'master' into threaded_rendering