From 2b39fab829ec93f7764d178167ac8d67e6e36491 Mon Sep 17 00:00:00 2001 From: Satoshi Kataoka Date: Wed, 14 Aug 2013 20:38:32 +0900 Subject: [PATCH] Fix test breakage Change-Id: I10bd8fcc68711a039e000f715d7a65ae42095965 --- java/src/com/android/inputmethod/latin/utils/StringUtils.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/java/src/com/android/inputmethod/latin/utils/StringUtils.java b/java/src/com/android/inputmethod/latin/utils/StringUtils.java index 4ddd3c51d..0b4838cfc 100644 --- a/java/src/com/android/inputmethod/latin/utils/StringUtils.java +++ b/java/src/com/android/inputmethod/latin/utils/StringUtils.java @@ -18,6 +18,7 @@ package com.android.inputmethod.latin.utils; import android.text.TextUtils; +import com.android.inputmethod.annotations.UsedForTesting; import com.android.inputmethod.latin.Constants; import com.android.inputmethod.latin.settings.SettingsValues; @@ -219,6 +220,7 @@ public final class StringUtils { return true; } + @UsedForTesting public static boolean looksValidForDictionaryInsertion(final CharSequence text, final SettingsValues settings) { if (TextUtils.isEmpty(text)) return false;