Skip to content
Snippets Groups Projects
Commit 3684036e authored by Kurt Partridge's avatar Kurt Partridge
Browse files

Preserve a class for testing

Addresses b/8583091

Change-Id: I89605223784312d9572dfc7c8aaa7e5eba44c4f6
parent fb3e8057
No related branches found
No related tags found
No related merge requests found
......@@ -22,6 +22,7 @@ import android.view.MotionEvent;
import android.view.MotionEvent.PointerCoords;
import android.view.MotionEvent.PointerProperties;
import com.android.inputmethod.annotations.UsedForTesting;
import com.android.inputmethod.latin.define.ProductionFlag;
import java.io.BufferedReader;
......@@ -64,6 +65,7 @@ public class MotionEventReader {
return replayData;
}
@UsedForTesting
static class ReplayData {
final ArrayList<Integer> mActions = new ArrayList<Integer>();
final ArrayList<PointerProperties[]> mPointerPropertiesArrays
......@@ -134,6 +136,7 @@ public class MotionEventReader {
* },
* </pre>
*/
@UsedForTesting
/* package for test */ void readLogStatement(final JsonReader jsonReader,
final ReplayData replayData) throws IOException {
String logStatementType = null;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment