Fix unit tests by adding @UsedFortesting.

Change-Id: I8f66632a32b9e9ddc1b771e8ee74492c7baf9338
main
Keisuke Kuroyanagi 2014-04-29 00:00:57 +09:00
parent 4426cbc59e
commit c0d754397e
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) {