From 6d7c6474707417f8a3316d2d630a0d4ce0babc21 Mon Sep 17 00:00:00 2001 From: Kurt Partridge Date: Thu, 27 Jun 2013 14:13:27 -0700 Subject: [PATCH] Do not output string-encoded MotionEvent. JsonUtils knows how to output MotionEvents into json; that mechanism should be reused for SuddenJumpingTouchEventHandler. Change-Id: Id4c36c05533a3a329bf43ba33d57c0830dc4d196 --- java/src/com/android/inputmethod/research/ResearchLogger.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java/src/com/android/inputmethod/research/ResearchLogger.java b/java/src/com/android/inputmethod/research/ResearchLogger.java index f07330841..ecf809242 100644 --- a/java/src/com/android/inputmethod/research/ResearchLogger.java +++ b/java/src/com/android/inputmethod/research/ResearchLogger.java @@ -1760,7 +1760,7 @@ public class ResearchLogger implements SharedPreferences.OnSharedPreferenceChang public static void suddenJumpingTouchEventHandler_onTouchEvent(final MotionEvent me) { if (me != null) { getInstance().enqueueEvent(LOGSTATEMENT_SUDDENJUMPINGTOUCHEVENTHANDLER_ONTOUCHEVENT, - me.toString()); + MotionEvent.obtain(me)); } }