From 7472cc824581b8a3c1ede286c8b0704040cef257 Mon Sep 17 00:00:00 2001 From: Dan Zivkovic Date: Wed, 11 Mar 2015 14:00:30 -0700 Subject: [PATCH] Mark method @UsedForTesting This prevents it from being optimized away. Change-Id: Iecd317568e23e86e4c0ece8134a4926a7a56d65b --- java/src/com/android/inputmethod/latin/utils/ExecutorUtils.java | 1 + 1 file changed, 1 insertion(+) diff --git a/java/src/com/android/inputmethod/latin/utils/ExecutorUtils.java b/java/src/com/android/inputmethod/latin/utils/ExecutorUtils.java index c30291b52..a78446103 100644 --- a/java/src/com/android/inputmethod/latin/utils/ExecutorUtils.java +++ b/java/src/com/android/inputmethod/latin/utils/ExecutorUtils.java @@ -101,6 +101,7 @@ public class ExecutorUtils { mRunnables = runnables; } + @UsedForTesting public Runnable[] getRunnables() { return mRunnables; }