mirror of
https://gitlab.futo.org/keyboard/latinime.git
synced 2024-09-28 14:54:30 +01:00
am be4d38e6
: Merge "Fix test breakage"
* commit 'be4d38e61fe96409764405af66cade5a609d6e1d': Fix test breakage
This commit is contained in:
commit
8099342df3
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user