aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/Dictionary.java
diff options
context:
space:
mode:
authorKurt Partridge <kep@google.com>2012-06-15 17:49:42 -0700
committerKurt Partridge <kep@google.com>2012-06-17 15:02:15 -0700
commit6080f6878b10916013a8a5e1d5f58f8041452c56 (patch)
tree27500029af16183dcf8c9974b3b7c9e17230f6f1 /java/src/com/android/inputmethod/latin/Dictionary.java
parent4b91046759b49108f750b0b4a58ed8cd74e155dc (diff)
downloadlatinime-6080f6878b10916013a8a5e1d5f58f8041452c56.tar.gz
latinime-6080f6878b10916013a8a5e1d5f58f8041452c56.tar.xz
latinime-6080f6878b10916013a8a5e1d5f58f8041452c56.zip
Remove non-dictionary words and digit touch data.
Output to the ResearchLogger is now queued and only flushed if the word the user was working on is a dictionary word. multi-project commit with Ic713ec00777fbdcf4a937b3c77b995257e100fc7 Bug: 6188932 Change-Id: I9de15227ff51be23083d9096f1c1b3d83802fff7
Diffstat (limited to 'java/src/com/android/inputmethod/latin/Dictionary.java')
-rw-r--r--java/src/com/android/inputmethod/latin/Dictionary.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/java/src/com/android/inputmethod/latin/Dictionary.java b/java/src/com/android/inputmethod/latin/Dictionary.java
index 7cd9bc2a8..9c3d46e70 100644
--- a/java/src/com/android/inputmethod/latin/Dictionary.java
+++ b/java/src/com/android/inputmethod/latin/Dictionary.java
@@ -115,4 +115,12 @@ public abstract class Dictionary {
public void close() {
// empty base implementation
}
+
+ /**
+ * Subclasses may override to indicate that this Dictionary is not yet properly initialized.
+ */
+
+ public boolean isInitialized() {
+ return true;
+ }
}