aboutsummaryrefslogtreecommitdiffstats
path: root/java-overridable/src/com/android
diff options
context:
space:
mode:
authorChieu Nguyen <cvnguyen@google.com>2015-01-13 13:16:23 -0800
committerChieu Nguyen <cvnguyen@google.com>2015-01-14 16:20:42 -0800
commit2e8d536678c36282a902ec8c3cb4b5833f881792 (patch)
tree9bac9b322a1f779ac1ec5cdbcb8105b5229844da /java-overridable/src/com/android
parentda27faeb87dc47656f82ba90ee590872a3993985 (diff)
downloadlatinime-2e8d536678c36282a902ec8c3cb4b5833f881792.tar.gz
latinime-2e8d536678c36282a902ec8c3cb4b5833f881792.tar.xz
latinime-2e8d536678c36282a902ec8c3cb4b5833f881792.zip
Add a method for handling for words not found in dictionary.
This is apparently called only once for every unique word, so repeated instances of the same word are not handled separately. Upon changing orientation of the device, however, all invalid words in the textbox are underlined again and this method is called for each unique instance in order. Change-Id: Ic57e4b9e5675bd7abd723644aa318d964f7f875f
Diffstat (limited to 'java-overridable/src/com/android')
-rw-r--r--java-overridable/src/com/android/inputmethod/latin/utils/StatsUtils.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/java-overridable/src/com/android/inputmethod/latin/utils/StatsUtils.java b/java-overridable/src/com/android/inputmethod/latin/utils/StatsUtils.java
index 044970267..5a9258d51 100644
--- a/java-overridable/src/com/android/inputmethod/latin/utils/StatsUtils.java
+++ b/java-overridable/src/com/android/inputmethod/latin/utils/StatsUtils.java
@@ -83,4 +83,7 @@ public final class StatsUtils {
public static void onLoadSettings(SettingsValues settingsValues) {
}
+
+ public static void onInvalidWordIdentification(final String invalidWord) {
+ }
}