Do not output string-encoded MotionEvent.

JsonUtils knows how to output MotionEvents into json; that mechanism
should be reused for SuddenJumpingTouchEventHandler.

Change-Id: Id4c36c05533a3a329bf43ba33d57c0830dc4d196
main
Kurt Partridge 2013-06-27 14:13:27 -07:00
parent 8142a7b637
commit 6d7c647470
1 changed files with 1 additions and 1 deletions

View File

@ -1760,7 +1760,7 @@ public class ResearchLogger implements SharedPreferences.OnSharedPreferenceChang
public static void suddenJumpingTouchEventHandler_onTouchEvent(final MotionEvent me) { public static void suddenJumpingTouchEventHandler_onTouchEvent(final MotionEvent me) {
if (me != null) { if (me != null) {
getInstance().enqueueEvent(LOGSTATEMENT_SUDDENJUMPINGTOUCHEVENTHANDLER_ONTOUCHEVENT, getInstance().enqueueEvent(LOGSTATEMENT_SUDDENJUMPINGTOUCHEVENTHANDLER_ONTOUCHEVENT,
me.toString()); MotionEvent.obtain(me));
} }
} }