diff options
author | 2015-03-09 13:22:56 -0700 | |
---|---|---|
committer | 2015-03-09 13:22:56 -0700 | |
commit | f9e2d271ca101a53a6aac772ca770242805793ef (patch) | |
tree | ebda6d23bd67b80ffcdf377741089f2434e6903c /tests/src/com/android/inputmethod/latin/utils/ExecutorUtilsTests.java | |
parent | 2151095bb20854b31535de16bfd6c963d9c5d922 (diff) | |
download | latinime-f9e2d271ca101a53a6aac772ca770242805793ef.tar.gz latinime-f9e2d271ca101a53a6aac772ca770242805793ef.tar.xz latinime-f9e2d271ca101a53a6aac772ca770242805793ef.zip |
Use a single background executor.
Bug 19625976.
Change-Id: Ia03f440a31b059b5af42d162e1145330bf7b5ddf
Diffstat (limited to 'tests/src/com/android/inputmethod/latin/utils/ExecutorUtilsTests.java')
-rw-r--r-- | tests/src/com/android/inputmethod/latin/utils/ExecutorUtilsTests.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/src/com/android/inputmethod/latin/utils/ExecutorUtilsTests.java b/tests/src/com/android/inputmethod/latin/utils/ExecutorUtilsTests.java index 3b1e43ed8..d722151cf 100644 --- a/tests/src/com/android/inputmethod/latin/utils/ExecutorUtilsTests.java +++ b/tests/src/com/android/inputmethod/latin/utils/ExecutorUtilsTests.java @@ -35,7 +35,7 @@ public class ExecutorUtilsTests extends AndroidTestCase { private static final int DELAY_FOR_WAITING_TASKS_MILLISECONDS = 500; public void testExecute() { - final ExecutorService executor = ExecutorUtils.getExecutorForDynamicLanguageModelUpdate(); + final ExecutorService executor = ExecutorUtils.getBackgroundExecutor(); final AtomicInteger v = new AtomicInteger(0); for (int i = 0; i < NUM_OF_TASKS; ++i) { executor.execute(new Runnable() { |