Fix test breakage

Change-Id: I10bd8fcc68711a039e000f715d7a65ae42095965
main
Satoshi Kataoka 2013-08-14 20:38:32 +09:00
parent 92038bcacd
commit 2b39fab829
1 changed files with 2 additions and 0 deletions

View File

@ -18,6 +18,7 @@ package com.android.inputmethod.latin.utils;
import android.text.TextUtils; import android.text.TextUtils;
import com.android.inputmethod.annotations.UsedForTesting;
import com.android.inputmethod.latin.Constants; import com.android.inputmethod.latin.Constants;
import com.android.inputmethod.latin.settings.SettingsValues; import com.android.inputmethod.latin.settings.SettingsValues;
@ -219,6 +220,7 @@ public final class StringUtils {
return true; return true;
} }
@UsedForTesting
public static boolean looksValidForDictionaryInsertion(final CharSequence text, public static boolean looksValidForDictionaryInsertion(final CharSequence text,
final SettingsValues settings) { final SettingsValues settings) {
if (TextUtils.isEmpty(text)) return false; if (TextUtils.isEmpty(text)) return false;