am c0d75439: Fix unit tests by adding @UsedFortesting.

* commit 'c0d754397e49bb39da8313e015731e43adf02586':
  Fix unit tests by adding @UsedFortesting.
main
Keisuke Kuroyanagi 2014-04-28 15:06:57 +00:00 committed by Android Git Automerger
commit 7767633bf7
1 changed files with 3 additions and 0 deletions

View File

@ -16,6 +16,8 @@
package com.android.inputmethod.latin.utils;
import com.android.inputmethod.annotations.UsedForTesting;
import java.util.Queue;
import java.util.concurrent.ArrayBlockingQueue;
import java.util.concurrent.ConcurrentLinkedQueue;
@ -74,6 +76,7 @@ public class PrioritizedSerialExecutor {
* Enqueues the given task into the prioritized task queue.
* @param r the enqueued task
*/
@UsedForTesting
public void executePrioritized(final Runnable r) {
synchronized(mLock) {
if (!mIsShutdown) {